| 47 | #endif |
| 48 | |
| 49 | void init_mem(void) { |
| 50 | mem_init++; |
| 51 | pthread_mutex_init(&mem_mutex, NULL); |
| 52 | #if DEBUGLEVEL > 2 |
| 53 | fprintf(stderr, "Memory initialized\n"); |
| 54 | fflush(stderr); |
| 55 | #endif |
| 56 | #ifdef _WIN32 |
| 57 | myheap = HeapCreate(0, MEM64K*16, 0); |
| 58 | #endif |
| 59 | } |
| 60 | |
| 61 | void * myalloc64k(){ |
| 62 |
no outgoing calls
no test coverage detected