lc-soft / LCUI

C library for building user interfaces
https://lcui-dev.github.io
MIT License
4.13k stars 356 forks source link

Main loop is blocked in the libgomp.so library #204

Closed lc-soft closed 4 years ago

lc-soft commented 4 years ago

Describe the bug When a new main loop is created and run in the event handler, the main thread will block in libgomp.so.

To Reproduce Steps to reproduce the behavior:

  1. Run test
  2. Waiting for test results

Expected behavior The main thread is not blocked.

Screenshots QQ截图20200328211728

Environment (please complete the following information):

Additional context https://github.com/lc-soft/LCUI/blob/3758e2193930cff9b137eb3c6392ee23ee991472/test/test_mainloop.c#L42-L74