- 05 Oct, 2007 2 commits
-
-
Pekka Pessi authored
su_port_wait_events() replaces su_port_yield(). darcs-hash:20071005112810-55b16-ead9d1cfa3e32b64bafb0ad827674694f467b89e.gz
-
Pekka Pessi authored
When root is created with su_root_create() or cloned with su_clone_start(), the resulting root is obtained by the calling or created thread, respectively. The root can be released with su_root_release() and another thread can obtain it. The function su_root_has_thread() can be used to check if a thread has obtained or released the root. Implementation upgraded the su_port_own_thread() method as su_port_thread(). darcs-hash:20071005112209-55b16-a77833d930ab3e9d57c52cd32b01eef5507476d3.gz
-
- 09 Feb, 2007 2 commits
-
-
Pekka Pessi authored
darcs-hash:20070209144424-55b16-ea65a8d9160569997c137a6c9817c54c3db7219b.gz
-
Pekka Pessi authored
su_epoll_port_create() and su_poll_port_create() call su_default_port_create() if epoll/poll is not available. Win32 implementation is now created with su_wsaevent_port_create(). darcs-hash:20070209003535-65a35-e02aa5d704fd862c3912bd8e921765aa8ce754f9.gz
-
- 08 Feb, 2007 1 commit
-
-
Pekka Pessi authored
su_port: added working port using select(). refactored message box stuff into su_socket_port_t in su_socket_port.c. darcs-hash:20070208182653-65a35-dcb0a6fe96c73f62c89052f9d1a5e5c10e3dc74b.gz
-
- 06 Feb, 2007 1 commit
-
-
Michael Jerris authored
darcs-hash:20070206215153-16063-fa600da7ff2d41a3e81831e593c2efee31bcff3f.gz
-
- 05 Feb, 2007 1 commit
-
-
Pekka Pessi authored
darcs-hash:20070205182921-55b16-ceb6c2e3dd449634ecce6803b38603859d3887d7.gz
-
- 02 Feb, 2007 1 commit
-
-
Pekka Pessi authored
There are now two different preferred port implementations: one used with su_root_create() and another with su_clone_start(). darcs-hash:20070202155042-65a35-90517d7a3f3dbbd7b0ce8c9169a40915d75e139b.gz
-
- 01 Feb, 2007 1 commit
-
-
Pekka Pessi authored
Virtualized su_clone_start(), su_clone_wait(), su_task_execute(). Added them to su_poll_port.c, su_epoll_port.c and su_select_port.c. darcs-hash:20070201193758-65a35-79d8040b37d1ae02a99a938b5955d1a4a20172c4.gz
-
- 26 Jan, 2007 2 commits
-
-
Pekka Pessi authored
Added a few test cases and fixed errors in su_port.c. darcs-hash:20070126184414-65a35-b3d2a1864afa68cf7511c6b02a1dfef4a89dcb0c.gz
-
Pekka Pessi authored
Basic su_port.c implementation using pthreads and poll() is now divided into three modules: su_base_port.c contains base implementation with su_base_*() functions, su_pthread_port.c contains pthread-specific implementation and su_poll_port() contains poll()/epoll()-specific parts. The decomposed su_port allows implementations on different platforms and usages to share code as far as possible. This patch also introduces configure option --disable-poll-port which should be used on systems with emulated poll, like older *BSD derivatives such as OS X. Note however that su_select_poll.c is not completed yet. darcs-hash:20070126155634-65a35-09612536f51f7cd14c33ba42278bc9ed2cee4144.gz
-