Commit Graph

28 Commits

Author SHA1 Message Date
chinhodado
ade958043c minor condition change
there's no guarantee that the function will return 1 on success, at least not in the documentation
2014-02-17 20:46:51 -05:00
Sacha
483e42f64e Atomics: These do not need platform-specific ifdef's as the gcc inbuilts should work fine. 2013-11-13 00:25:58 +10:00
Sacha
21b63f56ff Fix overflow on nanoseconds which was causing issues on some platforms. 2013-11-11 04:51:40 +10:00
Sacha
421261de82 Fix atomics on Blackberry. Was not clearing. 2013-10-25 19:05:27 +10:00
Sacha
b9ba2f27ac Use clock_gettime instead of gettimeofday as recommended by QNX. 2013-10-25 14:14:23 +10:00
Sacha
85648db42f Build fixes for Symbian. 2013-10-05 00:12:43 +10:00
Siddharth
dfbc5f3644 atomic_flag needs to have public methods. 2013-10-02 07:51:48 -07:00
Unknown W. Brackets
8f4a25c64a Add an atomic_flag implementation. 2013-10-02 00:04:14 -07:00
Unknown W. Brackets
1be25472a5 Use semaphores instead of events on win32.
And correctly unlock during the wait, even if there's holes.
2013-08-11 14:53:37 -07:00
Henrik Rydgard
44c239ef18 In 64-bit builds, use Win32 native condition variables.
In 32-bit builds we cant use it as we want to be XP compatible.
2013-08-08 21:29:49 +02:00
Sacha
8206163dae Fix up spacing/tabs in mutex.h 2013-06-02 21:45:35 +10:00
Henrik Rydgard
3edf239571 Remove use of clock_gettime in favor of gettimeofday. 2013-05-04 17:55:01 +02:00
JimLee168
d923a8f1e6 The event modify mutex use and increase the reset 2013-04-21 00:29:45 +08:00
Henrik Rydgard
25711066df Add prioritizedworkqueue, thread stuff, ui tweaks, small optimizations in file util 2013-04-13 21:22:03 +02:00
Unknown W. Brackets
17c8eb1ae7 Arg, buildfix for Mac. 2013-02-23 19:52:48 -08:00
Unknown W. Brackets
e77cea0211 Buildfix for Mac. 2013-02-23 19:48:25 -08:00
Unknown W. Brackets
9c183fcca8 Add a timeout event.wait_for() method.
Not exactly like std::condition_variable, but similar.
2013-02-23 13:23:20 -08:00
Xele02
be52e8c673 Add mutex, or wait don't work correctly 2013-02-17 01:28:26 +01:00
Sacha
063087abba Revert "Merge pull request #29 from Xele02/qtwindow"
This reverts commit 170a45ef4f, reversing
changes made to 657f5d32f4.
2013-01-14 19:10:51 +10:00
Xele02
597be2bb04 Update native for Qt Window
Add mutex lock. Wait cond didn't work without it.
2013-01-13 23:27:49 +01:00
Henrik Rydgard
c952c8d0e7 Fix volume buttons on android and add some functonality to the VFS. 2012-12-01 10:35:55 +01:00
Henrik Rydgard
49a79dc568 porta fixes 2012-08-12 20:50:12 +02:00
Henrik Rydgard
e64a159407 basic events 2012-08-08 00:10:34 +02:00
Henrik Rydgard
3b3f8242b0 mouse->pointer 2012-07-26 17:24:47 +02:00
Henrik Rydgard
caf0580c38 Tabs unification 2012-05-08 22:04:24 +02:00
Henrik Rydgard
fe1c7d2cdf Add initial multitouch support 2012-04-27 00:48:30 +02:00
Henrik Rydgard
5616ba99f0 add lock_guard 2012-04-18 00:22:32 +02:00
Henrik Rydgard
71a266fa2f Mutex. start work on keyboard support 2012-04-17 23:14:03 +02:00