Subversion Repositories HelenOS-historic

Rev

Rev 1503 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1503 Rev 1653
Line 22... Line 22...
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 
27
 */
-
 
28
 
-
 
29
 /** @addtogroup libc
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
27
 */
33
 */
28
 
34
 
29
#include <futex.h>
35
#include <futex.h>
30
#include <atomic.h>
36
#include <atomic.h>
31
#include <libc.h>
37
#include <libc.h>
Line 164... Line 170...
164
    if (val < 0)
170
    if (val < 0)
165
        return __SYSCALL1(SYS_FUTEX_WAKEUP, (sysarg_t) &futex->count);
171
        return __SYSCALL1(SYS_FUTEX_WAKEUP, (sysarg_t) &futex->count);
166
       
172
       
167
    return 0;
173
    return 0;
168
}
174
}
-
 
175
 
-
 
176
 
-
 
177
 /** @}
-
 
178
 */
-
 
179
 
-
 
180