Bugs: Browse | Submit New | Admin

[#9392] exec fails when ruby is built with pthreads enabled

Date:
2007-03-20 07:58
Priority:
5
Submitted By:
Sarwat Khan (sarwat)
Assigned To:
Akinori MUSHA (knu)
Category:
Language / Runtime / Core Libraries
State:
Open
Platform:
 
Summary:
exec fails when ruby is built with pthreads enabled

Detailed description
On Mac OS X, if ruby is built with --enable-pthread, you cannot (ever?) use exec; you'll get an EOPNOTSUPP error. Doing
some Googling I've found that it's because not all the pthreads in the app are terminated/joined, and Mac OS X won't
exec while other threads are running,

http://www.ruby-forum.com/topic/101243

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-03-20 11:39
Sender: Akinori MUSHA

I'll handle this.

Will commit a fix tonight.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
category_idMisc / Other Standard Library2007-05-29 21:54zenspider
category_idLanguage / Runtime / Core Libraries2007-05-29 15:54zenspider
resolution_idNone2007-03-20 11:39knu
priority32007-03-20 11:39knu
assigned_tonone2007-03-20 11:39knu