Application Development
7.6 Execution Environment
(Page 7 of 11 in this chapter)
- AG Access is a non-blocking library executing within the context of the running
process. Persistent state differentiation is maintained within the library for each
open port and driver.
Concurrency
- AG Access state data is semaphore protected from multiple thread access. Every
driver context (open driver) has its own semaphore and all ports multiplexed on a
given driver are protected by this semaphore.
Recursion
- The adiFetchAndProcess function invokes the voice record and play callbacks.
Invoking any AG Access function is disallowed from within the play and record
callback contexts (see adiStartPlaying and adiStartRecording in Section 4.5
and Section 4.6, respectively).
Spawning Processes
- AG Access does not support the inheritance of driver file handles or driver and
port contexts from an application to a spawned process.
(Page 7 of 11 in this chapter)
Copyright 1996 Natural MicroSystems, Inc. All Rights Reserved.