cyrille henry wrote:
IOhannes m zmoelnig a écrit :
anyhow, what comes to my mind is, that on linux, images are usually loaded in a separate thread (one thread for each [pix_image]!) - thus you will create 300 threads (which is not that much; but the only thing i can think of). you can turn off the threaded loading by sending a [thread 0( message to [pix_image] (e.g. at [initbang] time)
why did the thread did not stop once the image is loaded?
good question. i guess it's there to minimize the overhead of thread-creation each time you load a new image. another option would be to have a single thread running all the time and serving all [pix_image]s; but image the synch-problems...
do you really need initbang, or loadbang is ok?
[loadbang] won't work here as the patches are created dynamically. a better solution (portable to Pd-vanilla) would be to use [r initbang] and just send a bang to initbang when creation has finished.
it look like a nice feature to document on the help file...
yeah, i gonna add the [thread $1( message to the docs.
fgadsmr IOhannes