Skip to content

Instantly share code, notes, and snippets.

Dmitry Holodov dimalinux

  • Austin, TX, USA
Block or report user

Report or block dimalinux

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dimalinux / futexsleep.c
Created Mar 2, 2018
Using futex syscall to implement sleep
View futexsleep.c
#include <stdio.h>
#include <stdint.h>
#include <time.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <linux/futex.h>
futex_sleep (time_t seconds, long nanoseconds)
You can’t perform that action at this time.