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: | 741 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 68:15:36 |
| Calls: | 12,448 |
| Calls today: | 3 |
| Files: | 15,194 |
| Messages: | 6,537,584 |