Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop trying to use R_Is_Running #176

Merged
merged 4 commits into from
Feb 15, 2023
Merged

stop trying to use R_Is_Running #176

merged 4 commits into from
Feb 15, 2023

Conversation

kevinushey
Copy link
Contributor

@kevinushey kevinushey commented Feb 15, 2023

The most interesting part of this PR is here:

https://github.com/rstudio/positron/compare/bugfix/linux-compile?expand=1#diff-ff5706db2eed01587e3786b377b19b745bfc159ac589162862856c8bc45f50ddR35

Effectively, we now use a broadcast channel (a bus) to broadcast that R has finished initialization to all consumers who may need to know.

This PR also moves from using std channels to crossbeam channels. See #173 for motivation.

Closes #171.
Closes #173.

@kevinushey kevinushey requested a review from jmcphers February 15, 2023 05:50
@kevinushey
Copy link
Contributor Author

Note that with this PR, I can get Positron to successfully launch, but our good old friend zeromq has returned.

Screenshot 2023-02-14 at 9 58 23 PM

@kevinushey
Copy link
Contributor Author

Fixed the zeromq issue with kevinushey/zeromq.js@d648694.

Copy link
Collaborator

@jmcphers jmcphers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I had been eyeing crossbeam channels a few months ago as a way to address some of the awkward parts of the mpsc lib... let's see how they fare!

@kevinushey kevinushey merged commit 1c48be0 into main Feb 15, 2023
@wesm wesm deleted the bugfix/linux-compile branch March 15, 2024 18:20
wesm pushed a commit that referenced this pull request Mar 28, 2024
Merge pull request #176 from posit-dev/fix/issue-977

No longer monkey patch pydoc
--------------------
Commit message for posit-dev/positron-python@63adb9d:

remove monkey patches


Authored-by: Pete Farland <[email protected]>
Signed-off-by: Isabel Zimmerman <[email protected]>
wesm pushed a commit that referenced this pull request Mar 28, 2024
Merge pull request #176 from posit-dev/fix/issue-977

No longer monkey patch pydoc
--------------------
Commit message for posit-dev/positron-python@63adb9d:

remove monkey patches


Authored-by: Pete Farland <[email protected]>
Signed-off-by: Isabel Zimmerman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants