Rev 1596 | Rev 1964 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1596 | Rev 1653 | ||
---|---|---|---|
Line 24... | Line 24... | ||
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 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup libc |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | /** @file |
|
- | 33 | */ |
|
- | 34 | ||
29 | #include <sys/time.h> |
35 | #include <sys/time.h> |
30 | #include <unistd.h> |
36 | #include <unistd.h> |
31 | #include <ipc/ipc.h> |
37 | #include <ipc/ipc.h> |
32 | #include <stdio.h> |
38 | #include <stdio.h> |
33 | #include <arch/barrier.h> |
39 | #include <arch/barrier.h> |
Line 107... | Line 113... | ||
107 | atomic_t futex = FUTEX_INITIALIZER; |
113 | atomic_t futex = FUTEX_INITIALIZER; |
108 | 114 | ||
109 | futex_initialize(&futex,0); |
115 | futex_initialize(&futex,0); |
110 | futex_down_timeout(&futex, usec, 0); |
116 | futex_down_timeout(&futex, usec, 0); |
111 | } |
117 | } |
- | 118 | ||
- | 119 | ||
- | 120 | /** @} |
|
- | 121 | */ |
|
- | 122 | ||
- | 123 |