[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [bug #13790] Configure finds pthread but there are not u
From: |
spiralvoice |
Subject: |
[Mldonkey-bugs] [bug #13790] Configure finds pthread but there are not used |
Date: |
Sun, 15 Jan 2006 17:56:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8) Gecko/20060108 Firefox/1.5 |
Follow-up Comment #5, bug #13790 (project mldonkey):
Another possibility: Ocaml ./configure
if test "$pthread_wanted" = "yes"; then
...
if ./hasgot -i pthread.h $pthread_link pthread_self; then
...
if sh ./hasgot $pthread_link sigwait; then
echo "sigwait() found"
echo "#define HAS_SIGWAIT" >> s.h
fi
...
HAS_SIGWAIT is only defined on platforms where pthread is used,
unfortunately no Ocaml define exists for HAS_PTHREAD, but
HAS_SIGWAIT could additionally be used to determine whether
MLDonkey uses threads or not. See the attached patch.
_______________________________________________________
Additional Item Attachment:
File name: freebsd_thread2.patch Size:0 KB
<http://savannah.nongnu.org/bugs/download.php?item_id=13790&item_file_id=3277>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13790>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [Mldonkey-bugs] [bug #13790] Configure finds pthread but there are not used,
spiralvoice <=