提交 08611d51 编写于 作者: B Behdad Esfahbod

Add note re deadlocks

上级 34fb5521
......@@ -293,6 +293,7 @@ hb_script_get_horizontal_direction (hb_script_t script)
* should switch to using that insted for these too.
*/
/* XXX this can result in deadlocks because we call user callbacks */
static hb_static_mutex_t user_data_mutex;
bool
......
......@@ -111,6 +111,10 @@ struct hb_static_mutex_t : hb_mutex_t
HB_END_DECLS
/* XXX If the finish() callbacks of items in the set recursively try to
* modify the set, deadlock occurs. This needs fixing in set proper in
* fact. */
template <typename item_t>
struct hb_threadsafe_set_t
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册