I couldn't guess the output of it.
dispatch_async(serial_queue,^{NSlog(@"1");});
NSlog(@"2");
dispatch_async(serial_queue,^{NSlog(@"3");});
NSlog(@"4");
AFAIK
The output is
1
2
3
4
But I am not sure !
Can anybody explain If I am wrong !
I couldn't guess the output of it.
dispatch_async(serial_queue,^{NSlog(@"1");});
NSlog(@"2");
dispatch_async(serial_queue,^{NSlog(@"3");});
NSlog(@"4");
AFAIK
The output is
1
2
3
4
But I am not sure !
Can anybody explain If I am wrong !