diff options
author | Michael Bien <[email protected]> | 2010-05-04 02:22:19 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-05-04 02:22:19 +0200 |
commit | 9125a275449cb533798357914945de1f742a91f9 (patch) | |
tree | c25d5357ac99ec24bee4e7f2c95775362877db0b /src/com/jogamp/opencl/CLErrorHandler.java | |
parent | ea95ca1b96300fc9b2ec937759663eb0ed1406bf (diff) |
finished main functionality of ErrorHandler impl.
- using event listener add/remove pattern instead add on context creation
- context -> error handler object global reference mapping(TM) using LongLongMap in CLImpl
- global ref is deleted on context release
Diffstat (limited to 'src/com/jogamp/opencl/CLErrorHandler.java')
-rw-r--r-- | src/com/jogamp/opencl/CLErrorHandler.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLErrorHandler.java b/src/com/jogamp/opencl/CLErrorHandler.java index 74d49363..6a1cfb89 100644 --- a/src/com/jogamp/opencl/CLErrorHandler.java +++ b/src/com/jogamp/opencl/CLErrorHandler.java @@ -3,8 +3,11 @@ package com.jogamp.opencl; import java.nio.ByteBuffer; /** - * + * Experimental: the api may change in future, feedback appreciated.<br/> + * Note: the thread which calls {@link #onError onError} is unspecified. The Application must ensure propper synchronization. * @author Michael Bien + * @see CLContext#addCLErrorHandler(com.jogamp.opencl.CLErrorHandler) + * @see CLContext#removeCLErrorHandler(com.jogamp.opencl.CLErrorHandler) */ public interface CLErrorHandler { |