Added process_id_t and thread_it_t types to the server interface
instead of using void*, and removed a number of type casts.

24 files changed