Moxa Technologies UC-7110 Uživatelský manuál Strana 46

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 46
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 45
C
C
Appendix C FAQ
FAQ 1 Why am I only able to use vfork ( ),and cannot use fork ( )?
Answer 1 μClinux only supports vfork ( ). It does not support fork ( ). Note that when using
vfork ( ), the parent process will hang until the child process calls an exec group API,
or exits.
FAQ 2 When using a pthread group API, why can I not use SIGUSR1 and SIGUSR2?
Answer 2 We cannot use the SIGUSR1 and SIGUSR2 signals since a pthread group API uses
SIGUSR1 and SIGUSR2 to do a pthread control suspend, restart exit function. You
will get the same result if you link the pthread. This means that you cannot use
-1pthread to add an option to the linker.
FAQ 3 What is the correct format for linking to an API?
Answer 3 arm-elf-gcc –W1, -elf2flt
(In this example, the API converts elf format to flat format.)
Zobrazit stránku 45
1 2 ... 41 42 43 44 45 46

Komentáře k této Příručce

Žádné komentáře