Added a spinlock template as well as a thread work pool class.
Also, optimized shader compilation to happen on threads.
This commit is contained in:
parent
4fe3ee1730
commit
c613ead5fa
37 changed files with 458 additions and 192 deletions
|
|
@ -2612,7 +2612,7 @@ void _Semaphore::_bind_methods() {
|
|||
|
||||
_Semaphore::_Semaphore() {
|
||||
|
||||
semaphore = Semaphore::create();
|
||||
semaphore = SemaphoreOld::create();
|
||||
}
|
||||
|
||||
_Semaphore::~_Semaphore() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue