Skip to content

Commit 5b53532

Browse files
Comments
1 parent a1f5338 commit 5b53532

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Crusse/JobServer/EventLoop.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
// - pass the callback the Request, and maybe a SocketWriter (or make the callback return a Response|null)
1313
// - implement BlockingEventLoop and NonBlockingEventLoop (with stream_select()) to test performance diff (if any)
1414
//
15+
// https://www.reddit.com/r/programming/comments/3vzepv/the_difference_between_asynchronous_and/
16+
//
17+
// "An example I can think of is POSIX's select() interface. It should be relatively easy to write wrapper code around it such that reads and writes from and to a number of file descriptors are queued and then when those operations are completed events would be generated. What happens to those events can vary depending on the interface's design goals. An obvious choice would be to call any callback functions that the user of such an interface may have provided."
18+
//
1519

1620
namespace Crusse\JobServer;
1721

0 commit comments

Comments
 (0)