Arquivos
hhvm/hphp/system
Jan Oravec 88687ba6f7 Add support for external thread events
Add support for external thread events.

See asio_external_thread_event.h for details about usage.

This is the first version that compiled, the code was not executed even
once, but wanted to get it out early to unblock @hannesr. Thus the [RFC]
flag.

My next step is to implement asio-compatible equivalent of
fb_call_user_func_async() that will make it possible to easily test the
new functonality by simulating async stuff with sleep(), etc. on the PHP
side.

There are 2 major mostly lockless synchronization points that needs
careful review:

- queue of ready external thread events (asio_session.{cpp.h})
- shutdown cleanup (asio_external_thread_event.{cpp,h})
2013-05-02 10:14:16 -07:00
..
2013-05-01 21:00:47 -07:00
2013-03-06 10:46:47 -08:00
2013-05-01 20:59:44 -07:00
2013-04-25 00:49:50 -07:00
2013-05-01 20:59:44 -07:00
2013-03-07 22:04:08 -08:00