Re: [LTP] [PATCH] futex: regression test for take hugepages into account when generating futex_key

Cyril Hrubis
2015-06-17T13:42:46Z

Hi!
> proper synchronization primitives ??
> I haven't used that. Could you show me a simple demo?

That just means that one thread/process waits for some
message/file_change/sleeps in syscall instead of sleeping predefined
time and hoping that the other thread/process has done something
meanwhile.

Which is faster than sleeping blindly and also more error prone.

--
Cyril Hrubis
chrubis@suse.cz