Skip to content

Commit

Permalink
threadset: revise/simplify on top of GAsyncQueue
Browse files Browse the repository at this point in the history
The previous implementation was prone to race conditions under rare
circumstances.
  • Loading branch information
kleisauke committed Sep 28, 2024
1 parent 6e3d74a commit bb93230
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 160 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- threadpool: fix a race condition in error handling [kleisauke]
- disable GLib cast checks and asserts for plain builds [kleisauke]
- fix jpeg in tiff for high Q [nahilsobh]
- threadset: fix a race condition during thread exit [kleisauke]

11/8/24 8.15.3

Expand Down
1 change: 0 additions & 1 deletion libvips/include/vips/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ extern gboolean vips__cache_trace;
void vips__thread_init(void);
void vips__threadpool_init(void);
void vips__threadpool_shutdown(void);
int vips__thread_execute(const char *name, GFunc func, gpointer data);
VIPS_API void vips__worker_lock(GMutex *mutex);

void vips__cache_init(void);
Expand Down
Loading

0 comments on commit bb93230

Please sign in to comment.