Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L Lima-tango-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LimaGroupLimaGroup
  • Lima-tango-python
  • Merge requests
  • !84

Allow event_loop integration with LimaCCDs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Valentin Valls requested to merge valls-gevent into master Jan 04, 2022
  • Overview 11
  • Commits 2
  • Pipelines 2
  • Changes 1

This allow to add an event loop to the Lima tango device.

As result our simulator can be interoperable with Qt.

Sounds like it it can fix a lot of our interoperability problem with BLISS.

This now can be used this way in our simulators in BLISS:

import gevent

def process_gevent():
    try:
        gevent.sleep(0.01)
    except Exception:
        _logger.critical("Uncaught exception from gevent", exc_info=True)

result = LimaCCDs.main(event_loop=process_gevent)
sys.exit(result)

@matias.guijarro could you please check if you think it's fine?

Edited Jan 05, 2022 by Valentin Valls
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: valls-gevent