Releases: qgymib/libev
Releases · qgymib/libev
v1.0.0
v0.1.1
v0.1.1 (2024/09/19)
BREAKING CHANGES
- merge
ev_file_init()
withev_file_open()
. - rename
ev_file_exit()
toev_file_close()
. - merge
ev_file_read_sync()
withev_file_read()
. - merge
ev_file_pread_sync()
withev_file_pread()
. - merge
ev_file_write_sync()
withev_file_write()
. - merge
ev_file_pwrite_sync()
withev_file_pwrite()
. - merge
ev_file_stat_sync()
withev_file_stat()
. - merge
ev_fs_mkdir_sync()
withev_fs_mkdir()
. - merge
ev_fs_remove_sync()
withev_fs_remove()
. ev_file_seek()
now return the resulting offset location as measured in bytes from the beginning of the file.- rename
ev_file_pread()
toev_file_preadv()
. - rename
ev_file_read()
toev_file_readv()
. - rename
ev_file_pwrite()
toev_file_pwritev()
. - rename
ev_file_write()
toev_file_writev()
.
Features
ev_fs_readdir()
is able to operator in synchronous mode.ev_fs_readfile()
is able to operator in synchronous mode.ev_file_seek()
is able to operator in synchronous mode.- support normal
ev_file_read()
andev_file_write()
. - support
ev_file_pread()
andev_file_pwrite()
. - support file mapping.
- support get system page size.
v0.1.0
v0.0.9
v0.0.9 (2024/07/29)
BREAKING CHANGES
ev_map_insert()
now return conflict node address- remove
active_events
field
Bug Fixes
- fix: loop may wait infinite with EV_LOOP_MODE_ONCE if there are only endgame events
- fix: memory leak in create process
- fix: thread leak when process exit
- fix: wrong format charster in test
v0.0.8
v0.0.8 (2023/04/07)
BREAKING CHANGES
- remove
ev_todo_token_t
ev_process_t
must be exited manually- rename position read and write to
pread
andpwrite
- embed default thread pool
- change thread pool functions
- expose peeraddr in udp recv callback
- reduce parameter in udp send callback
Features
- add detail information for
ev_fs_readfile()
- use
ev_library_shutdown()
to cleanup global resources - use
ev_loop_walk()
to walk through all handles - process: support change cwd
- add amalgamate support
- submit threadpool task by loop api
- update test framework to v3.0.0
- use
ev_hrtime()
to get high-resolution time - support normal file read / write / seek operations
- support remove file and directory
- expose memory allocate functions
- redone error number
- smart convert addr and name
Bug Fixes
- fix: use uninitialised value in
ev_exepath()
on Unix - fix: thread pool not unlink when exit loop
- fix:
ev_process_spawn()
coredump on windows when redirect file