Martin,
there are some C coded extensions in the www.androwish.org repository which use Tcl_ThreadQueueEvent() for triggering events in a Tcl thread from another thread, see e.g.
https://www.androwish.org/home/file?name=jni/ZBar/tcl/tclzbar.c&ci=tip https://www.androwish.org/home/file?name=jni/tcluvc/tcluvc.c&ci=tip https://www.androwish.org/home/file?name=undroid/tclwmf/tclwmf.c&ci=tip
HTH,
Christian
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 766 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 16:44:01 |
| Calls: | 12,763 |
| Calls today: | 1 |
| Files: | 15,362 |
| Messages: | 6,557,144 |