View Code? Open in Web Editor
NEW
This project forked from ireader/sdk
portable system call(aio/socket/thread/process/lock/event/pipe)
License: MIT License
C 88.20%
Makefile 0.55%
Shell 0.03%
C++ 11.06%
Objective-C 0.16%
sdk's Introduction
- IOCP (source/aio-socket-iocp.c)
- epoll (source/aio-socket-epoll.c)
- kqueue (source/aio-socket-kqueue.c)
atomic (include/sys/atomic.h)
- increment32/increment64
- decrement32/decrement64
- add32/add64
- cas32/cas64
- cas_ptr
socket (include/sys/socket.h)
- IPv4/IPv6 support
- connect auto try IPv4/IPv6
- common socket options
- ip/dns convert
thread (include/sys/thread.h)
- thread_create/thread_destroy
- get/set priority
- thread id
- yield
process (include/sys/process.h)
- process_create/process_destroy/process_kill
- get process name
- close parent process handle/fd
locker (include/sys/locker.h)
- create/destroy
- lock/unlock
- trylock
sdk's People
Contributors
Watchers