Options for the flags parameter when you try to acquire a buffer from a producer
#include <screen/screen.h>
enum { SCREEN_ACQUIRE_AND_RELEASE_OTHERS = (1 << 0), SCREEN_ACQUIRE_DONT_BLOCK = (1 << 5) };
This flag is associated with the preprocessor definition SCREEN_ACQUIRE_AND_RELEASE_OTHERS. When you use this flag, you must also specify SCREEN_ACQUIRE_DONT_BLOCK.
This flag is associated with the preprocessor definition SCREEN_ACQUIRE_DONT_BLOCK.
These options are valid only for the screen_acquire_buffer() function. Use Screen flushing types for other Screen API functions that accept a flags parameter.