Hey Rutger, 2011/3/21 Rutger ter Borg <[email protected]>: > > Hello, > > I am wondering if Wt's signals / slots methods are thread safe and/or > how it is possible to post asynchronous updates to the Wt apps from a > distinct thread pool.
They are not thread-safe (they do not act like Qt's signal slots with posting events to an event loop when used across threads). To post asynchronous updates, you can use signal slots, but since the slot is called outside the event loop, you then need to take the application's update lock. Indeed, the simplechat example is useful for this. Also the feature/serverpush example illustrates the locking mechanism in its most simple form (without use of signal/slots though). Regards, koen ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
