#1959: Configure flag for --without-threads
-------------------------+--------------------------------------------------
Reporter: whiteknight | Owner:
Type: todo | Status: new
Priority: minor | Milestone:
Component: configure | Version: master
Severity: low | Keywords:
Lang: | Patch:
Platform: all |
-------------------------+--------------------------------------------------
Changes (by jkeenan):
* cc: fperrad (added)
* platform: linux => all
Comment:
Replying to [ticket:1959 whiteknight]:
>
> I don't see a flag in parrot_config which looks like it contains this
information. There is a HAS_THREADS flag in parrot_config, but it always
returns "1" whether --without-threads or not.
>
> We need a reliable way to determine if Parrot has threading support or
not.
Please see ''config/auto/thread.pm''. It clearly allows for cases where
`HAS_THREADS` would be set to `0`. Tonight I wrote some tests in
''t/steps/auto/thread-01.t'' that explicitly test for that case. AFAICT,
`i_pthread` is something picked up from the Perl 5 `%Config`.
Now it is of course possible that the thread-detection method in
`auto::thread` is incorrect or insufficient. If so, patches welcome.
Thank you very much.
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1959#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets