| 17 | { |
| 18 | |
| 19 | int GetCurrentProcessId() |
| 20 | { |
| 21 | #if !defined(ARMNN_DISABLE_PROCESSES) |
| 22 | #if defined(__unix__) || defined(__APPLE__) |
| 23 | return getpid(); |
| 24 | #elif defined(_MSC_VER) |
| 25 | return ::GetCurrentProcessId(); |
| 26 | #endif |
| 27 | #else |
| 28 | return 0; |
| 29 | #endif |
| 30 | } |
| 31 | |
| 32 | } // namespace pipe |
| 33 | } // namespace arm |
no outgoing calls