[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Concerning pthreads and such

From: Thomas Thomas
Subject: Concerning pthreads and such
Date: Wed, 20 Jun 2012 11:04:59 -0700 (PDT)

Let me try this again:

I am sending this to GNU and not debian because:
1) There are several debian people who subscribe to GNU also,
2) The debian development list for Hurd doesn't accept attachments this large,
and 3) debian seems to be one of the most used distributions for Hurd.

This is a patch to hurd-20120605-2 to have it use pthreads instead of cthreads.
It does have some issues. It still needs a libpthread directory in the hurd 
tree (I believe that all the directory needs in it is links to the .so and .a 
Libpthread needs to have the function provided by cancel-cond.c in it (so you
need to rebuild libpthread, part of glibc: probably all of glibc then).
[hurd_condition_wait allows RPCs to be interrupted with hurd_thread_cancel]

Also included is a patch to netdde, which also needs to be rebuild if one wants
to have working networking.

As always, I thank Barry DeFreese and Vicente Ara for doing most of the work.

Thomas DiModica

PS. What would be, in everyone's opinion, a rigorous test (or tests) that the
pthreads code works?

Attachment: THEdebianPatch.bz2
Description: Binary data

Attachment: netdde.diff
Description: Binary data

Attachment: cancel-cond.c
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]