https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-02-02T05:30:42ZRuby Issue Tracking SystemRuby master - Bug #5957: pthreads not working on ulibc (linuxthreads)https://bugs.ruby-lang.org/issues/5957?journal_id=234982012-02-02T05:30:42Zkosaki (Motohiro KOSAKI)kosaki.motohiro@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul><p>I'm sorry. We have no plan to support linuxthreads any more. Core developers can't access linuxthreads platform easily and I don't think we can get great contributor in near futur in this area. So, I don't think the supporting is practical option. Please use fiber. Again, I'm very sorry.</p> Ruby master - Bug #5957: pthreads not working on ulibc (linuxthreads)https://bugs.ruby-lang.org/issues/5957?journal_id=235132012-02-03T06:04:28Zstevegoobermanhill (stephen gooberman-hill)stevegoobermanhill@gmail.com
<ul></ul><p>Hi Motohiro,<br>
thanks for taking a look :-)</p>
<p>I've been doing some more digging and I think my initial thoughts were wrong. I am now pretty sure that this is actually an issue around the uClibc build on my ARM board - basically it has been built with pretty much every possible pre-processor directive switched off, so it is not supporting sufficient functionality to enable pthreads to run sucessfully ( pthread_getattr_np is defined in a #ifdef block but not built).</p>
<p>I'm in touch with the board manufacturers (Techbase - it is an NPE series industrial computer / gsm/gprs/edge modem). If I can get ruby running (with thread support - as I need TCPServer) then I am looking at bulk orders - so they are (at the moment) being very helpful.</p>
<p>Kind regards</p>
<p>Steve</p>