推 herculus6502:我最近在看POE,號稱有現成的模組,不過學習曲線… 11/09 06:50
→ herculus6502:為了scalability一開始我都先用socket,本機再開檔案 11/09 06:52
→ herculus6502:以前用c的話是用namedpipe+waitforsingleobject 11/09 06:53
→ TONICOM:Share Memory 解決了,利用 Memory Mapped File Service. 11/09 14:02
→ TONICOM:剩下如何利用訊號來trigger行程 11/09 14:03
→ clkao:AnyEvent is your friend 11/09 17:24
→ TONICOM:感謝分享,我大蓋看了一下,確實符合需求,而且比我想像中還 11/10 13:30
→ TONICOM:多!!要來好好研究一下了 11/10 13:31
推 herculus6502:"You should avoid POE like the plague"..我笑了^_^ 11/10 15:48
→ herculus6502:不過我看了一下AnyEvent::Socket,感覺比POE簡單多了 11/10 16:01
→ herculus6502:有DELPHI的INDY的味道…不愧是clkao...Orz 11/10 16:03
→ TONICOM:關於Win32下的Signal , 我找到了一些資訊 : 11/11 11:33
→ TONICOM:On Windows, Perl basically does not support signals at 11/11 11:33
→ TONICOM: all, because Windows has no signals. 11/11 11:33
→ TONICOM:原因 : Signals are unsupported by the Win32 API. The C 11/11 11:34
→ TONICOM: Runtime provides crude support for signals, but there 11/11 11:35
→ TONICOM:are serious caveats, such as inability to die() or 11/11 11:36
→ TONICOM: exit() from a signal handler. Perl itself does not 11/11 11:36
→ TONICOM:guarantee that signal handlers will not interrupt 11/11 11:37
→ TONICOM:critical operations such as memory allocation, which 11/11 11:37
→ TONICOM: means signal invocation may throw perl internals into 11/11 11:38
→ TONICOM:disarray. For these reasons, signals are unsupported 11/11 11:39
→ TONICOM: at this time. 11/11 11:39
→ TONICOM:原因是擷取自ActivePerl網站 11/11 11:41