Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ActiveState Perl + Tk + POE::Wheel::Run + coderefs = Pain.
ActiveState Perl emulates fork() with iThreads. Only Perl's core exit() will properly "exit" a "process". Tk overrides exit() with its own XS magic. This seems to kill off the parent "process". When POE::Wheel::Run is used to run subroutines (coderefs) in child processes, it must somehow exit() the child process, simulating exec. Under Windows, that's Perl's core exit(), which is usurped by Tk, which causes ALL MANNER OF EVIL! DON'T GO THERE! WE SURE AREN'T!
- Loading branch information
Showing
2 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters