> If someone can give me some pointers on how to go
> about assigning nodeID ranges in Haskell I would
> appreciate it.

how are you currently assigning node numbers?  you
just need to use different numbers for each client.

more widely: resource id management really needs to
reside at scsynth since clients cannot reliably know
what ids are in use.  sclang uses a global variable but
it is "per interpreter" and of course knows nothing
about any other clients (sclang or otherwise).

there ought to be another mode to s_new (like -1,
perhaps -2) such that the server allocates an id and
returns an n_id message to the client.  it'd be
straightforward to write and would solve a lot of
problems!  (likewise for g_new and b_alloc etc. etc.)

bests
rohan
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to