Skip to content

Commit

Permalink
Reword description of default context again
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlueck committed Oct 8, 2024
1 parent 013b3a8 commit da50947
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -969,12 +969,14 @@ The [code]#platform# class also provides constructors, but constructing a new
[code]#platform# instance merely creates a new object that is a copy of one of
the objects returned by [api]#platform::get_platforms#.

Each platform has a default context which contains all of the devices in the
platform and has no associated asynchronous error handler.
Each platform has an associated default context which contains all of the
devices in the platform.
This default context does not have an asynchronous error handler.
Applications can retrieve a copy of this default `context` object, for example,
by constructing a `queue`.
These copies follow the common reference semantics, as though they are all
copies of a single internal `context` object that is held by each platform.
copies of an internal per-platform `context` object representing the platform's
default context.

The [code]#platform# class provides the common reference semantics as defined in
<<sec:reference-semantics>>.
Expand Down

0 comments on commit da50947

Please sign in to comment.