Benjamin ‘Touky’ Huet
|
9acf2e925b
|
lol Buildfix
|
10 years ago |
Benjamin ‘Touky’ Huet
|
9c07e8c2e0
|
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
|
10 years ago |
Sam Hocevar
|
9cf137e47d
|
sys: fix an idiotic bug in the thread class.
|
11 years ago |
Sam Hocevar
|
8657a3adfa
|
sys: use std::bind for thread workers to avoid ugly casts.
|
11 years ago |
Sam Hocevar
|
d373081b80
|
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
|
11 years ago |
Sam Hocevar
|
ca230a60ad
|
thread: implement Queue::TryPush and Queue::TryPop.
|
12 years ago |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
12 years ago |
Sam Hocevar
|
1a54a81167
|
sys: move thread.h to the sys/ directory.
|
13 years ago |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
13 years ago |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
13 years ago |
Sam Hocevar
|
60a2e83d54
|
xbox: start working on an Xbox/Direct3D port.
|
13 years ago |
Sam Hocevar
|
db728e48fe
|
threads: change Queue to a template so that we can manage the element type.
|
14 years ago |
Sam Hocevar
|
d026703430
|
build: for now, assume anything with <pthread.h> uses the pthread API.
|
14 years ago |
Sam Hocevar
|
3d3ec36548
|
core: start working on the Emcee class.
|
14 years ago |
Sam Hocevar
|
921d157ee0
|
core: implement Queue on Win32 and on the PS3.
|
14 years ago |
Sam Hocevar
|
c2a8082c09
|
core: make the Queue object work with several producers, and get rid of
the idiotic memmove() we were using.
|
14 years ago |
Sam Hocevar
|
3a4e4709ba
|
core: replace the Condition class with a nicer Queue object that is
implemented using a cond_var on Linux, but will use something else on
Windows.
|
14 years ago |
Sam Hocevar
|
72a4ad8480
|
win32: implement threads and mutexes.
|
14 years ago |
Sam Hocevar
|
29db078d6a
|
core: add a mediocre threading system as the base for the real thing.
|
14 years ago |