()
| 40 | } |
| 41 | |
| 42 | fn main() { |
| 43 | // Read from stdin on a background queue so that the main queue is free |
| 44 | // to handle other events. All printing still occurs through the main |
| 45 | // queue to avoid jumbled output. |
| 46 | prompt(0, Queue::global(QueuePriority::Default)); |
| 47 | |
| 48 | unsafe { |
| 49 | dispatch::ffi::dispatch_main(); |
| 50 | } |
| 51 | } |