1. A method comprising: transmitting data elements from source threads to sink threads, the source threads and the sink threads being executed on a plurality of processor cores of a parallel computer system, by using at least one global logical queue, the at least one global logical queue including an associated physical queue for each of the plurality of processor cores and storing, in a data element management table, a count specifying a total number of data elements enqueued by each source thread executed on a processor core and that are located in one of the physical queues of the at least one global logical queue, and a processor core index specifying a specific processor core associated with a physical queue containing the data elements enqueued by a respective source thread.