Layout::get_pixel_size() race condition?
- From: Edder <edder tkwsping nl>
- To: gtk-i18n-list gnome org
- Subject: Layout::get_pixel_size() race condition?
- Date: Tue, 1 Feb 2011 17:21:27 +0000
Dear all,
I develop a plotting library that uses cairomm and pangomm directly.
The library is multithreaded and seems to sometimes cause a race
condition to occur, which results in a segmentation fault. When I
start two threads very soon after each other the a segmentation fault
often occurs, while starting the threads with a pause in between
doesn't cause any crashes. This always happens when the two threads
access Layout::get_pixel_size().
Does anyone know if this is a known problem? And/or has any tips :)
Cheers, Edwin
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]