- 27 Nov, 2008 1 commit
-
-
Pekka Pessi authored
darcs-hash:20081127130644-db55f-eaf1d964565f54d94b4307914df791ea885343ee.gz
-
- 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
-
- 21 Mar, 2007 1 commit
-
-
Pekka Pessi authored
darcs-hash:20070321153718-55b16-5a4be127fb13603811b919aa94d5e73c6b27a6ad.gz
-
- 26 Feb, 2007 1 commit
-
-
Pekka Pessi authored
darcs-hash:20070226141131-55b16-98eaa75242673eb47c6ac5a840176f5737bd8eee.gz
-
- 22 Feb, 2007 1 commit
-
-
Pekka Pessi authored
Added su_root_name() and su_port_name() functions to API. darcs-hash:20070222210558-88462-e6574b8fce46199f5c03887bad1ee66e9d2fcf9b.gz
-
- 18 Feb, 2007 1 commit
-
-
Martti Mela authored
darcs-hash:20070218233718-1b897-719890eea47b86c238c02f1a62f6d0cc6c6f4eee.gz
-
- 09 Feb, 2007 2 commits
-
-
Pekka Pessi authored
darcs-hash:20070209064514-65a35-120913fce22d496e7e3e8cdfc9a121d6ed386fcc.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
-
- 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
-
- 06 Feb, 2007 1 commit
-
-
Martti Mela authored
darcs-hash:20070206154643-1b897-7f230d462a4524aa733686bf0b3b612576ac746f.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
-