First, threads in Wx. Note that this references the modules threads and threads::shared. Finally, the perlthrtut is a recommended read.
My thinking is leaning towards providing threads only in the context of event handlers. Some event handlers could be marked as explicitly threaded, and those would spawn a new thread when fired. Wx methods would then be used for synchronization under Wx; in the general case, we'd use thread->join.
No comments:
Post a Comment