theolaurent / ocaml-reagent

An implementation of reagents for multicore OCaml
ISC License
4 stars 0 forks source link

Fatal error: exception Unhandled #8

Closed theolaurent closed 9 years ago

theolaurent commented 9 years ago

The file swap.ml lead to an Unhandled exception. But I think every bit of code is wrapped in the handler of the scheduler... Is it a bug in the ocaml runtime?

kayceesrk commented 9 years ago

I can't replicate the error. For me swap.ml works as intended. With the single-core scheduler, prints "will fail! ..." and program terminates. On multicore-sched, prints "will fail!..." but does not terminate since multicore scheduler deque operation uses a pop which always retries.

theolaurent commented 9 years ago

Ok. That's must be due to the 32bit patched version of the compiler I use on my laptop...