29 Commits (56bd523bcd885b65d7ba2b8eddaa5216448fb90b)

Author SHA1 Message Date
Owen Green 56bd523bcd Add param referesh to NRT wrapper; update MLP read in sclang 4 years ago
Owen Green 52bb79a581 Use a thread_local to manage rt cache lifetime.
Rollback to immutable allocator
5 years ago
Owen Green ac163c4a11 Fix RT cache to avoid shutdown crashes 5 years ago
Owen Green 714c206296 Remove error messages that aren't errors 5 years ago
Owen Green 08be2a629f Use SC RT memory pool for RT cache mirror 5 years ago
Owen Green 5892a60391 Better safety and better contention.
Fixes sutble race condition in async callback (lock NRT on line 620). 
Uses mirror cache of weak_ptr for RT thread
5 years ago
Owen Green dcdc7f8f31 Better safety, worse contention
Hold on to locks more strictly. Improves safety under load, but is 
slower.
5 years ago
Owen Green 5956e97925 Guard against parameter updates from audio thread in Model Objects whilst processing 5 years ago
Owen Green a2847d96db Add SpinLock to guard NRT cache 5 years ago
Owen Green 45a7fa8be6 Fix accidental param overwrite in processNew scenarios 5 years ago
Owen Green fbd6dd7154 Remove some inefficiencies from Wrapper for triggered objects 5 years ago
Owen Green b6980903d9 Run parameter constraints first before NRT client is created.
Resolves #80
5 years ago
Owen Green 4a4a2350f6 Merge branch 'fix/UGensAsClasses' into clients/inter_client_comms 5 years ago
Owen Green bdcf5b0474 Merge branch 'clients/inter_client_comms' into fix/windows_linux_builds 5 years ago
Owen Green 3e0ee81eea Merge branch 'clients/inter_client_comms' into fix/UGensAsClasses 5 years ago
Owen Green 4da973c25b Amend server side RT query Unit name
So that it can be a legal sclang class name
5 years ago
Owen Green 246f9e2b1f Ensure that threaded jobs still have a completion message to send
(broken by 6065996)
5 years ago
Owen Green 3e31a4dcb4 Fix arcana that made MSVC / GCC sad
GCC doesn't like specializations of inner classes declared inline, or 
using a shorthand type alias for static template member variable 
initialisation. 

MSVC doesn't like using a private type alias
5 years ago
Owen Green 8b37813b43 Fix windows build errors by sandboxing new SendReply dependency
Deals with macro name clashes, and also better enacapsulates unfortunate 
dep on SC internals, as well as improving build times
5 years ago
Owen Green 60659962a2 Fix RT memory leak with completion messages found by Ted Moore
A paradigmatic example of why raw pointers are hard: ASyncCmd takes 
ownership of the cmd pointer, but *copies* the completion message (so we 
still need to free the latter)
5 years ago
Owen Green 5cbe109c93 Add /flush to force server cache reset with internal Server 5 years ago
Owen Green 1dc3409561 Fix retiggering of syncrhonous Buf*.kr 5 years ago
Owen Green 012ce483c5 NRT Wrapper: signal completion via cache
for (hopefully) greater reliability
5 years ago
Owen Green 360155f4c4 Try and fix thread callback double-free crash by going via RT message queue 5 years ago
Owen Green fb17a08e24 Don't free memory twice 5 years ago
Owen Green 9eb2a44a69 Use (hacky) NRT SendReply for responses
This solves problems wih behaviour w/r/t server sync
5 years ago
Owen Green 010ecf557e Wrapper: try to avoid crash if server is shut(ting) down when thread returns 5 years ago
Owen Green 0931042aff Mop up some warnings 5 years ago
Owen Green 0b33b1ecaf Refactor SC wrapper
Split into distinct files 
Use Async commands for NRT processing (again)
5 years ago