Alex Szpakowski
|
140faf0cae
Channel:push now returns an id value. Added Channel:hasRead(id), which returns true if the value that the id represents has already been popped, demanded, or cleared from the Channel. Resolves issue #1104.
|
9 年之前 |
Alex Szpakowski
|
a0bbcce8ee
The video decoding thread efficiently waits for a video to be created before doing anything, rather than sleeping for 2ms in a loop. Reduces the CPU usage of the video worker thread to ~0% when no videos are loaded.
|
9 年之前 |
Alex Szpakowski
|
e08374fdd1
We don't need a mutex lock in Channel::retain/release... I think.
|
9 年之前 |
Alex Szpakowski
|
23fcaec89f
The Variant class is now meant to be used on the stack instead of allocated on the heap. As a result (and because of related changes), performance of Channels has roughly doubled when pushing and popping most types.
|
9 年之前 |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 年之前 |
Alex Szpakowski
|
ebc68023a7
Fix many warnings about implicit integer conversions when compiling for 64 bits.
|
10 年之前 |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 年之前 |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 年之前 |
Bart van Strien
|
1602c6de7a
Make mutex locks slightly more safe in some places (and correct in another...)
|
12 年之前 |
Alex Szpakowski
|
8d7e0b5629
Time-travelling license text
|
12 年之前 |
Alex Szpakowski
|
4c616e409b
Renamed ParticleSystem:count, Channel:count, and all getNum* functions to get*Count (issue #602)
|
12 年之前 |
Bart van Strien
|
c7c5d0ed6b
Fix race conditions and deadlocks in Channels (hopefully) (issue #554)
|
12 年之前 |
Bart van Strien
|
be2363fc00
Add Channel:supply(), a blocking version of Channel:push()
|
12 年之前 |
Bart van Strien
|
3dc4e3cdca
Also mutex lock in Channel::retain
|
13 年之前 |
Bart van Strien
|
777e97de2e
Make Channels more thread-safe (I know, I know..)
|
13 年之前 |
Bart van Strien
|
399a6a6614
Merge in channels from love-experiments
|
13 年之前 |