MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 167

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 166
Using C/C++ Shared Libraries on M ac OS X
You need to call mc lSet ExitCode with the appropriate exit status. Also,
note that you should call
mclTerminateapplication in the e nd of your
application.
mclTerminateApplication terminatestheentireapplication
and exits with the exit code set using
mclSetExitCode.
In this example, the
main() function creates a new thread using
pthread_create, and passes the address of the run_main() function to it.
Initialize a
CFRunLoop as follows:
a Create a
CFRunLoopSourceRef that contains program-defined data a nd
callbacks with which you can configure the behavior of
CFRunLoopSource.
b Add this
CFRunLoopSourceRef to a run loop mod e by calling
CFRunLoopAddSource.
c Run the main thread’s
CFRunLoop by calling CFRunLoopRun.
7-37
Seitenansicht 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare