[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
event queue with thread for c++
From: |
Han-Wen Nienhuys |
Subject: |
event queue with thread for c++ |
Date: |
Fri, 7 Feb 2020 19:26:49 +0100 |
Hey Dan,
I thought you might know this.
To do https://codereview.appspot.com/561390043/ properly, I have to expand
the heap when GC notifies us that a collection took place. Unfortunately,
libgc notifications are done with the garbage collector lock held. So I'll
need schedule a call to GC_expand_heap on a different thread.
Would you know what is the best way to do this in C++ nowadays?
thanks,
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- event queue with thread for c++,
Han-Wen Nienhuys <=