MyLifeLabs / nproc

Process pools for OCaml
Other
29 stars 6 forks source link

Benign warning when creating the pool #3

Closed pveber closed 10 years ago

pveber commented 11 years ago

Running the test generates warnings for the "lwt interface" part.

[gesundheit:~/w/nproc 10:19]$omake test
omake: Symbol `FamErrlist' has different size in shared object, consider re-linking
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.00 sec)
- build . <test>
+ ./test_nproc.opt
[exception in f]
[err] Exception raised by Nproc task: Failure("raised from f")
OK
[exception in g]
[err] Error while handling result of Nproc task: exception Failure("raised from g")
OK
[unstack child]
GC stats in parent:
live_words: 3000852
GC stats in children:
Starting worker 0
Starting worker 1
live_words: 4989
live_words: 4989
live_words: 4989
live_words: 4989
OK
[lwt interface]
[err] Error while handling result of Nproc task: exception Invalid_argument("Lwt.wakeup_result")
[err] Error while handling result of Nproc task: exception Invalid_argument("Lwt.wakeup_result")
[err] Error while handling result of Nproc task: exception Invalid_argument("Lwt.wakeup_result")
[...]
[err] Error while handling result of Nproc task: exception Invalid_argument("Lwt.wakeup_result")
[err] Error while handling result of Nproc task: exception Invalid_argument("Lwt.wakeup_result")
OK
[stream interface]
total time: 3.086546s
OK
[stream interface with granularity=10]
total time: 10.078900s
OK
*** omake: done (17.74 sec, 2/3 scans, 4/9 rules, 10/85 digests)              

In the end, the result seems ok. I have a simple fix for this problem, will push it shortly.