[ 
https://issues.apache.org/jira/browse/BEAM-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454322#comment-16454322
 ] 

John MacMillan commented on BEAM-4177:
--------------------------------------

Added [Pull Request 430|https://github.com/apache/beam-site/pull/430]

> 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
>            Priority: Trivial
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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