Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unix.openfile, open_in, open_out and threads #8410

Closed
vicuna opened this issue Dec 10, 2003 · 2 comments
Closed

Unix.openfile, open_in, open_out and threads #8410

vicuna opened this issue Dec 10, 2003 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 10, 2003

Original bug ID: 1974
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Sami Mäkelä
Version: 3.06
OS: linux
Submission from: glubimox.yok.utu.fi (130.232.134.107)

I don't know if this is fixed in 3.07, but
UNIX open call might block, at least when
opening named pipes. So I think the C interface
should have enter_blocking_section() and
leave_blocking_section().

@vicuna
Copy link
Author

vicuna commented Dec 20, 2003

Comment author: administrator

Fixed in 3.07 (see #8005)

@vicuna vicuna closed this as completed Dec 20, 2003
@vicuna
Copy link
Author

vicuna commented Dec 20, 2003

Comment author: administrator

I don't know if this is fixed in 3.07, but
UNIX open call might block, at least when
opening named pipes. So I think the C interface
should have enter_blocking_section() and
leave_blocking_section().

3.07 does as you suggest (blocking sections around calls to open(2)).

  • Xavier Leroy

@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant