So I thought it would be useful for empegVNC to be multithreaded (for purposes not yet revealed ). It was easy enough to implement initially using pThreads. However, when I ran it on the empeg, I noticed that it actually created multiple processes. This is remarkably annoying, as I was using threads solely to avoid creating the overhead of multiple processes (and, maybe, to control the scheduling of the process). Am I doing something dramatically wrong (I'm using only pthread_create() and pthread_detach() from the pThreads API at this point) or is this the expected behavior of pThreads on a Linux (or arm-Linux?) platform? If it's expected, is there a more lightweight thread API I should be using?
_________________________
Bitt Faulk