Thanks.
On Mon, Oct 22, 2001 at 02:13:13PM +0100, David Hamilton wrote:
> This is a bug report for fsmlabs regarding RTLinux3.1 (at least)
>
> The semaphore function ..
>
> int sem_getvalue(sem_t* sem, int* sval)
>
> is supposed to write the semaphore value to the int pointed to by sval, and
> return an error code.
> Instead, it doesn't write anything to sval, and returns the semaphore value.
>
> I've looked at the code in /schedulers/rtl_sema.c
> and the function is given by
>
> int sem_getvalue(sem_t* sem, int* sval)
> {
> return sem->value;
> }
>
> which is incorrect.
>
> David
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/