How would I pass in a queue (or self-defined type) to a thread as the data object? I have a thread that just constantly checks network communications, and sorts them into queues based on what type they are (coordinates,message,other). Then the other thread is just set to constantly pop off the queue and process the data. For example, how would I pass in TQueue (would I have to do it as a pointer so the other thread can also have access to it?)
Thanks!
Type TQueue ... End Type
Thanks!