Project

General

Profile

Actions

Feature #3234

open

osmo-gsm-tester: poll the python-smpplib socket using non-busy approach

Added by pespin almost 6 years ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
Target version:
-
Start date:
05/04/2018
Due date:
% Done:

0%

Spec Reference:

Description

In esme.py, we currently register a poll handler (called every few ms). In that poll handler, we call python-smppllib's client.poll(), which calls non-block select to process all messages.

See https://github.com/podshumok/python-smpplib/commit/d27f070ddd99703630583a6ccebca86add593dd0 for the commit which added the APIs we use.

We should instead get the socket fd (client._socket) and register the FD to the event_loop (add a new API there (un)register_fd() or similar), which internally is going to register it with glib, so it polls it together with all other stuff.


Related issues

Related to OsmoGSMTester - Feature #2512: osmo-gsm-tester: Convert event_loop.wait to support passive pollingResolved09/14/2017

Actions
Actions #1

Updated by pespin almost 6 years ago

  • Related to Feature #2512: osmo-gsm-tester: Convert event_loop.wait to support passive polling added
Actions #2

Updated by pespin 12 months ago

  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)