John MacMillan created BEAM-4177:
------------------------------------

             Summary: Clarify thread constraints in Programming Guide 4.3.2
                 Key: BEAM-4177
                 URL: https://issues.apache.org/jira/browse/BEAM-4177
             Project: Beam
          Issue Type: Improvement
          Components: website
            Reporter: John MacMillan
            Assignee: Melissa Pashniak


In 
[4.3.2|https://beam.apache.org/documentation/programming-guide/#user-code-thread-compatibility],
 the sentence "Each instance of your function object is accessed by a single 
thread on a worker instance, unless you explicitly create your own threads" 
leaves some ambiguity about whether or not the instance is permanently tied to 
a single thread, or just restricted to being active on a single thread at a 
time.

I suggest a minor change to:

Each instance of your function object is accessed by a single thread at a time 
on a worker instance, unless you explicitly create your own threads.

I will prepare a pull request with this change.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to