I would strongly recommend against sending anything other than primitive data types such as strings/numbers and list/dicts of those between processes. If you want to do cross process synchronization use a lockfile or platform specific mutexes. Sending a queue requires shared memory which may or may not be available depending on platform.
|