Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
I am also interested in knowing more about this.
What I have tried so far is
In Process A:
os_workgroup_t wgi = AudioWorkIntervalCreate("myWorkGroup", os_clockid_t::OS_CLOCK_MACH_ABSOLUTE_TIME, nullptr);
if (mach_port_t mp = 0; os_workgroup_copy_port(wgi_, &mp) == 0) {
// mach_port_t is an unsigned int, here I send value of `mp` to process B.
}
In Process B:
// Received value of `mp` from Process A, then...
const auto handle = os_workgroup_create_with_port("hello", mp);
I always get a nullptr in handle.