iphone Programming Glossary: posix
How to kill a Thread with Objective C? http://stackoverflow.com/questions/1351976/how-to-kill-a-thread-with-objective-c you listen for such requests and obey them at an appropriate time. As the very page you linked to says Although Cocoa POSIX and Multiprocessing Services offer routines for killing threads directly the use of such routines is strongly discouraged...
BSD Sockets don't behave in a iPhone 3G environment http://stackoverflow.com/questions/2488634/bsd-sockets-dont-behave-in-a-iphone-3g-environment you use instead of the direct BSD sockets. They specifically warn about using the BSD sockets here Although BSD POSIX networking APIs are available in iPhone OS you should avoid using them. If you communicate directly with sockets certain..
Fork() on iPhone http://stackoverflow.com/questions/3619252/fork-on-iphone there is no way to fork a process. However it's not impossible to implement piping. In my project I create a new POSIX thread read Apple's documentation for how to do this . The child thread would share a file descriptor created by pipe with..
Creating my own file extension based on plist http://stackoverflow.com/questions/3827558/creating-my-own-file-extension-based-on-plist NSApplication sender openFiles NSArray filenames That will give you an NSArray of NSStrings representing the POSIX paths to the files the user double clicked on in the Finder or dragged to the app icon etc. If you want to go the NSDocument..
Wait and notify equivalent in Objective c? http://stackoverflow.com/questions/6229319/wait-and-notify-equivalent-in-objective-c multithreading share improve this question There are numerous techniques you could use. You can use NSCondition or POSIX semaphores or dispatch semaphores or by using run loops. Check out the Concurrency Guide and the the Threading Guide . My..
iOS store just a little bit of data http://stackoverflow.com/questions/7417552/ios-store-just-a-little-bit-of-data Conceptually simple if you've ever worked with a file system before. Puts you in complete control. Use the regular old POSIX file system API. Best for existing Unix code or code that you also want to compile on other platforms. Before you jump into..
|