You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1176 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Chris Quinn
Version: 3.04
OS: linux rh6.2
Submission from: 212.42.169.63 (212.42.169.63)
Hello.
I'm not sure this is a bug but ...
If the program below is run and ^C'ed there remains still an outstanding
thread.
Uncommenting the signal setting and everything is fine.
Is this to be expected?
let sigwatch signo =
prerr_endline "signal received in thread"
let go () =
Unix.sleep 100000
let _ =
ignore(Thread.create go ());
(* Sys.set_signal Sys.sigint (Sys.Signal_handle sigwatch);*)
Unix.sleep 100000
The text was updated successfully, but these errors were encountered:
I'm not sure this is a bug but ...
If the program below is run and ^C'ed there remains still an outstanding
thread.
Uncommenting the signal setting and everything is fine.
Is this to be expected?
It works OK here, with the development version of OCaml and under
Mandrake 7.2.
Could you identify the thread that wouldn't die? If you do "ps" while
the program is running, you should see four processes executing your
program, hopefully with numbers N, N+1, N+2 and N+3. If N+1 is the
one that doesn't die, it looks like a bug in the version of
LinuxThreads you're using. (Thread N+1 is the "thread manager thread"
used internally by LinuxThreads.)
* [Super errors] Expose previously shadowed `report_error`
Used by super_typemod.ml
* [Super errors] Clean up super_typemod
Defer work to the newly exposed `Typemod.super_report_error_no_wrap_printing_env`
Original bug ID: 1176
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Chris Quinn
Version: 3.04
OS: linux rh6.2
Submission from: 212.42.169.63 (212.42.169.63)
Hello.
I'm not sure this is a bug but ...
If the program below is run and ^C'ed there remains still an outstanding
thread.
Uncommenting the signal setting and everything is fine.
Is this to be expected?
let sigwatch signo =
prerr_endline "signal received in thread"
let go () =
Unix.sleep 100000
let _ =
ignore(Thread.create go ());
(* Sys.set_signal Sys.sigint (Sys.Signal_handle sigwatch);*)
Unix.sleep 100000
The text was updated successfully, but these errors were encountered: