Ignore:
Timestamp:
08/11/95 14:27:23 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c1403ef1
Parents:
0e4c603
Message:

Initialization of semaphores was incorrect. It did not force
the count to "1" to indicate availability.

Interrupt support was added.

Problem where newlib's errno "overrides" that set by system calls
was addressed.

Fixed bug which resulted in all nodes using the same semaphore although
an array of semaphores was allocated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/unix/posix/shmsupp/intr.c

    r0e4c603 raa9f194  
    2424
    2525#include <stdio.h>
    26 
     26#include <signal.h>
     27 
    2728void Shm_Cause_interrupt_unix(
    2829  rtems_unsigned32 node
    2930)
    3031{
     32    Shm_Interrupt_information *intr;
     33    intr = &Shm_Interrupt_table[node];
     34 
     35    kill((pid_t) intr->address, intr->value);
    3136}
Note: See TracChangeset for help on using the changeset viewer.