lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adak500f4z2.fsf@cisco.com>
Date:	Tue, 15 Sep 2009 11:16:49 -0700
From:	Roland Dreier <rdreier@...co.com>
To:	adi hodos <thefatredguy@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Suggested addition to epoll interface - epoll_post_notification()


 > I have been playing with epoll lately and I would like to make a suggestion
 > regarding the epoll interface.
 > It would be nice to have a function to wake up a thread/process that is blocked
 > on an epoll_wait() call and sent it some
 > user defined data in the form of a struct epoll_event parameter ( something
 > similar with PostQueuedCompletionStatus() from Windows ).

You might have a look at eventfd() which creates an fd that can be used
to signal from one thread to another (and which can be waited on with epoll).

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ