Posts

Post not yet marked as solved
1 Replies
2.3k Views
Hi - on iPadOS16 beta1, we have been experimenting with connecting to external 1080p and 4k monitors using TypeC on latest M1 iPads. It appears to only display full-screen (non-mirrored) when there is a HID device such as mouse connected. This makes sense as you need to be able to control the screen independently. However for a touch screen external display (e.g. INNOCN) that supports multi-touch, it does not work. iPadOS (and macOS) do not have any multi-touch drivers. Is there plans for iPadOS (and indeed eventually macOS) to support external multi-touch screens?
Posted
by Shagpile.
Last updated
.
Post not yet marked as solved
2 Replies
1.3k Views
https://developer.apple.com/documentation/foundation/filehandleI'm reading non-sequential bytes (random records) from a large file (hundreds of megabytes, low gigabytes) rapidly across several threads. Each thread may use a seek then read multiple times when reading records.It is expensive constantly creating new FileHandle instances for each small read. I want to where possible reuse the same FileHandle instance without using locking to control access (I'm currently using locking to control access to shared FileHandle which works okay, but is not maximum performance...).I want to avoid a race condition where one thread does a seek right before another does a read, changing the file offset in a shared FileHandler reader.It appears that pread() handles this nicely:http://man7.org/linux/man-pages/man2/pwrite.2.html>> The pread() and pwrite() system calls are especially useful in>> multithreaded applications. They allow multiple threads to perform>> I/O on the same file descriptor without being affected by changes to>> the file offset by other threads.Is FileHandle opened via init?(forReadingAtPath path: String) safe to call the seek and read functions in this manner? i.e. does it use pread() under the hood and can I use a shared FileHandle instance across multiple threads for random reading without the file offset being hosed by another thread?
Posted
by Shagpile.
Last updated
.
Post not yet marked as solved
0 Replies
1.1k Views
Hi,Just wondering if it's possible to get access to the raw x/y/z satellite tile data rendered? Static images would be ideal.Kind of like:https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/3/2https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/3/2Thanks!
Posted
by Shagpile.
Last updated
.