darwin
Can I find the library that created a named OSMallocTag?
I use the allocations instrument to measure heap usage in my iOS app. I find that a significant amount of memory is allocated in a region with the tag name \"Memory Tag 70\", and I would like to know[详细]
2023-01-31 05:23 分类:问答What type of threads does OS X have?
Kernel-level threads (like Linux and some *BSD systems) or something else? If there 开发者_JAVA百科is any difference, I\'m using pthreads.Old question, but could use some more detail and accuracy:[详细]
2023-01-30 19:40 分类:问答Get Device Memory Xcode
I really need to know of 开发者_运维知识库a way to get the current device’s: Active Memory Inactive Memory[详细]
2023-01-22 06:06 分类:问答How to enable large file support under Darwin?
I have a C application I am trying to compile for Mac OS X 10.6.4: $ uname -v Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386[详细]
2023-01-21 06:14 分类:问答Checking for the existence of externally defined identifiers in C
I ran into this problem while developing in Objective-C for iOS, but this should apply to any C/C++/Objective-C code using the Mac OS X/iOS linker. The solution is covered by another question, but I\'[详细]
2023-01-19 09:36 分类:问答What is the deal with undefined symbols in a shared library or dylib?
I have a Makefile for linux that I am porting over to Darwin.The makefile takes a bunch of .o files and links them together into a .so shared object.Okay, so I figured (am I wrong about this?) that th[详细]
2023-01-15 15:34 分类:问答Find the OS X kext library that contains a symbol
with Snow Leopard 10.6.4 I am obtaining an unresolved symbol: $ sudo kextutil KRPC.kext (kernel) kxld[com.machackershandbook.kext.KRPC]: The fol开发者_运维知识库lowing symbols are unresolved for this[详细]
2023-01-09 14:15 分类:问答Atomically get value on Mac OS
I need some function to atomi开发者_如何学运维cally get int value. Something called OSAtomicGet(). Analog of g_atomic_int_get().Dereferencing an int from a known pointer is always atomic on architectu[详细]
2023-01-06 05:01 分类:问答building odcctools in a 64-bit OS
The odcctools pac开发者_如何学编程kage provides binutils for the Darwin OS. -- this allows you to cross compile to Darwin and OSX for example. However, odcctools does not seem to build properly on 64-[详细]
2023-01-02 23:33 分类:问答Handling mach exceptions in 64bit OS X application
I have been able to register my own mach po开发者_StackOverflow中文版rt to capture mach exceptions in my applications and it works beautifully when I target 32 bit. However when I target 64 bit, my ex[详细]
2022-12-30 07:11 分类:问答