Commit e739a134 authored by claes's avatar claes

Received event added to qcom_WaitOr

parent 0dfc7602
/*
* Proview $Id: rt_qcom.c,v 1.8 2006-03-20 07:08:05 claes Exp $
* Proview $Id: rt_qcom.c,v 1.9 2008-01-25 14:34:18 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1142,7 +1142,8 @@ qcom_WaitOr (
const qcom_sQid *qid,
const qcom_sQid *eid,
int mask,
int tmo
int tmo,
int *event
)
{
int result = 0;
......@@ -1166,7 +1167,7 @@ qcom_WaitOr (
qp->or_event = 1;
qp->mask = mask;
result = qdb_Wait(sts, qp, ep, tmo);
*event = ep->mask & mask;
} qdb_ScopeUnlock;
return result != 0;
......
/*
* Proview $Id: rt_qcom.h,v 1.9 2006-03-20 07:08:05 claes Exp $
* Proview $Id: rt_qcom.h,v 1.10 2008-01-25 14:34:18 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -323,7 +323,8 @@ pwr_tBoolean qcom_WaitOr (
const qcom_sQid *qid,
const qcom_sQid *eid,
int mask,
int tmo
int tmo,
int *event
);
pwr_tBitMask qcom_EventMask (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment