[patch #5379] Implementation of condition_timedwait() in libthreads

2006-09-10 Thread anonymous

URL:
  

 Summary: Implementation of condition_timedwait() in
libthreads
 Project: The GNU Hurd
Submitted by: None
Submitted on: Sunday 09/10/2006 at 11:48 UTC
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: [EMAIL PROTECTED]
 Open/Closed: Open
 Planned Release: None

___

Details:

During the work on the BPF translator, a function similar to
pthread_cond_timedwait() in libthreads was necessary. Here is the patch that
adds this function. Note that the patch doesn't add a cancellable version of
the function.



___

Carbon-Copy List:

CC Address  | Comment
+-
Available only the item webpage | Originator Email



___

File Attachments:


---
Date: Sunday 09/10/2006 at 11:48 UTC  Name:
libthreads_condition_timedwait.patch  Size: 5.59KB   By: None
patch for libthreads implementing condition_timedwait()


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd


Re: GNU/Hurd sound system

2006-09-10 Thread Richard Braun
Hello,

Some news about the work on the sound system : I've ported the ES1370
driver since I wasn't able to debug the maestro3 driver on real hardware,
and ES1370 is one of the chips emulated by qemu (the only PCI one IIRC).
The good news is that I was able to hear some sound ! But the kernel
crashes in device_write(), so the next step is to find why and how to fix it.
The source code of the kernel is available here [1]. Configure it with
--enable-ide --enable-kdb --enable-rtl8139 --enable-es1370 and it should
be suitable for qemu (i don't have a ready-to-use image to provide). I've
written a test tool that writes a file to dsp0 using device_write() which
can be downloaded here [2]. Use it like this :

./sndwrite sample.raw

The sound is crappy, it's normal :-). The sample.raw file can be created
using cat /dev/dsp > sample.raw on a e.g. Linux system (raw recording).
Remember to use gcc 4.0 and not 4.1.

Any help debugging is welcome :-).

-- 
Richard Braun

[1] http://cvs.sceen.net/index.cgi/gnumach/ (Download tarball)
[2] http://devel.hurdfr.org/sndwrite.tgz


signature.asc
Description: Digital signature
___
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd