This file contains definitions necessary to incorporate SwOften macros in OEM code. More...
#include "ripcall.h"
Macros | |
#define | SwOften() (SwOftenActivateUnsafe()) |
Poll for interrupts. More... | |
#define | SkinOftenSafe() (SwOftenActivateSafe()) |
Poll for interrupts and run PostScript asynchronous actions in a context where it is safe to run asynchronous actions. More... | |
#define | SkinOftenUnsafe() (SwOftenActivateUnsafe()) |
Poll for interrupts in a context where it is not safe to run PostScript asynchronous actions. More... | |
Functions | |
int32 | SwOftenActivateSafe (void) |
Poll for interrupts and run PostScript asynchronous actions in a context where it is safe to run PostScript asynchronous actions. More... | |
int32 | SwOftenActivateUnsafe (void) |
Poll for interrupts in a context where it is not safe to run PostScript asynchronous actions. More... | |
int32 | SwOftenCore (void) |
Poll for interrupts in a context where it is not safe to run PostScript asynchronous actions. More... | |
This file contains definitions necessary to incorporate SwOften macros in OEM code.
SwOften() must be called frequently in routines which are likely to take some time to complete: for example, if a large write is being done, it should be broken down into smaller chunks, with a call to SwOften() each time round the loop.
There are two versions of which only one will be compiled: for systems with and without a real time clock interrupt of some sort.
Note that if SwOften() returns a negative number, the caller must tidy up and return immediately since an interrupt has been requested.
Copyright (C) 2023 Global Graphics Software Ltd. All rights reserved. Global Graphics Software Ltd. Confidential Information.
#define SkinOftenSafe | ( | ) | (SwOftenActivateSafe()) |
Poll for interrupts and run PostScript asynchronous actions in a context where it is safe to run asynchronous actions.
#define SkinOftenUnsafe | ( | ) | (SwOftenActivateUnsafe()) |
Poll for interrupts in a context where it is not safe to run PostScript asynchronous actions.
#define SwOften | ( | ) | (SwOftenActivateUnsafe()) |
Poll for interrupts.
int32 SwOftenActivateSafe | ( | void | ) |
Poll for interrupts and run PostScript asynchronous actions in a context where it is safe to run PostScript asynchronous actions.
int32 SwOftenActivateUnsafe | ( | void | ) |
Poll for interrupts in a context where it is not safe to run PostScript asynchronous actions.
int32 SwOftenCore | ( | void | ) |
Poll for interrupts in a context where it is not safe to run PostScript asynchronous actions.
Identical to SwOftenActivateUnsafe().