1. 05 Oct, 2007 2 commits
    • Pekka Pessi's avatar
      su_port.h: removed su_port_threadsafe() and su_port_yield() methods · 528bf0db
      Pekka Pessi authored
      su_port_wait_events() replaces su_port_yield().
      
      darcs-hash:20071005112810-55b16-ead9d1cfa3e32b64bafb0ad827674694f467b89e.gz
      528bf0db
    • Pekka Pessi's avatar
      su: added su_root_obtain(), su_root_release() and su_root_has_thread() · 4fb20afe
      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
      4fb20afe
  2. 09 Feb, 2007 2 commits
  3. 08 Feb, 2007 1 commit
  4. 07 Feb, 2007 1 commit
    • Michael Jerris's avatar
      Fix gcc build with -stdÉ9 -pedantic-errors (RE-RECORDED) · f9abdf60
      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
      f9abdf60
  5. 06 Feb, 2007 1 commit
  6. 02 Feb, 2007 1 commit
  7. 01 Feb, 2007 1 commit
  8. 26 Jan, 2007 2 commits
    • Pekka Pessi's avatar
      su: separated su_poll_port and su_epoll_port implementations. · 0169e883
      Pekka Pessi authored
      Added a few test cases and fixed errors in su_port.c.
      
      darcs-hash:20070126184414-65a35-b3d2a1864afa68cf7511c6b02a1dfef4a89dcb0c.gz
      0169e883
    • Pekka Pessi's avatar
      su_port.c etc: refactored su_port implementation. · e40e2640
      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
      e40e2640