Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-03 | add message.h and message.c, mscp_set|get_error() | Ryo Nakamura | |
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message. | |||
2023-02-25 | add copy-related functions to path | Ryo Nakamura | |
2022-12-11 | use pthread_cleanup to acquire and release lock | Ryo Nakamura | |
In chunk_prepare(), if multiple threads wait for acquiring f->lock, and then pthread_cancel() is called, the waiting threads are never canceled because pthread_mutex_lock() is not a cancellation point. So, use pthread_cleanup_push/pop to release the lock. | |||
2022-10-29 | change indent from space to tab | Ryo Nakamura | |
2022-10-22 | implement copy chunk | Ryo Nakamura | |
2022-10-20 | add atomic refcnt and locks. | Ryo Nakamura | |
It might be unnecessary, if open/close can be done without lock. |