Skip to content

Thread safety #6

@GoogleCodeExporter

Description

@GoogleCodeExporter
clUtil is not thread safe because there is only one "current device" integer 
for the whole program. Also, since command queues are not necessarily thread 
safe, we need a new command queue for each thread. C++0x's thread local storage 
can probably solve this issue. If not, we can use pthread_getspecific() to 
emulate TLS.

Original issue reported on code.google.com by rick.web...@gmail.com on 20 Dec 2010 at 9:51

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions