+ Antworten
Seite 2 von 2 ErsteErste 1 2
Ergebnis 11 bis 12 von 12

Thema: Semaphore

  1. #11
    Registriert seit
    Feb 2005
    Ort
    Lübeck
    Beiträge
    21,273

    We have no intend to add this feature. You can try to use blocking sockets within PHP: PHP: Sockets - Manual

    What we might add is proper "signaling". As far as i have understood you want to block the sending thread until the receiving thread signals that the data is available. Is that right?

    paresy

  2. #12
    Registriert seit
    Aug 2018
    Ort
    Sweden
    Beiträge
    45

    Zitat Zitat von paresy Beitrag anzeigen
    What we might add is proper "signaling". As far as i have understood you want to block the sending thread until the receiving thread signals that the data is available. Is that right?

    paresy
    Hi paresy,

    I am looking at php socket right now but it is above my current understanding of php (but I am trying to learn).

    You are correct, I need to block sending untill I have received message from previous sent command.

    I think I can make it work if you add proper signaling function. It would be much appreciated if you could add this.

    Will this required a lot of work on your behalf to add this function? I ask as I am curious about the potential timeline.

    Thanks
    yoggi

Ähnliche Themen

  1. Verständnisproblem bei Semaphore
    Von TomW im Forum Skripte, PHP, SQL
    Antworten: 29
    Letzter Beitrag: 11.12.16, 11:33
  2. Semaphore in foreach Schleife
    Von Fonzo im Forum Skripte, PHP, SQL
    Antworten: 4
    Letzter Beitrag: 19.04.16, 09:16
  3. Präzisierung Semaphore erbeten
    Von kjb70 im Forum Skripte, PHP, SQL
    Antworten: 15
    Letzter Beitrag: 23.03.15, 08:36
  4. Statusabfrage träge,Semaphore?
    Von baba im Forum Allgemeine Diskussion (2.x/3.x)
    Antworten: 4
    Letzter Beitrag: 12.12.14, 12:51
  5. Semaphore
    Von _muckel_ im Forum Skripte, PHP, SQL
    Antworten: 7
    Letzter Beitrag: 29.03.10, 11:02