- 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
-
- 30 Apr, 2007 1 commit
-
-
Martti Mela authored
darcs-hash:20070430120812-1b897-85e72eaaa5d30e5021a4c03b54500f91b59a1cbf.gz
-
- 25 Apr, 2007 1 commit
-
-
Pekka Pessi authored
Removed spurious logging message. darcs-hash:20070425081229-55b16-8974cdea0758e30114a745936f5cbbd6f4db4531.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
-
- 07 Feb, 2007 1 commit
-
-
Michael Jerris authored
It is not possible to cast function pointers to (void *) in C99 (section 6.2.2.3). C99 printf formatting expects (void *) for %p argument (section 7.13.6.1 p. 335). darcs-hash:20070207193814-16063-b6f3632e0911cee2ab67a1b184bbf18d3b7bd174.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
-