Skip to content

Race condition on event handling. ex) pykiwoom.comm_rq_data #1

@a3626a

Description

@a3626a

your code, pykiwoom.comm_rq_data has race condition. It leads entire program to dead-lock.

After calling following line :
return_code = self.dynamicCall("CommRqData(QString, QString, int, QString)", request_name, tr_code, inquiry, screen_no)

receive_tr_data() can be returned before calling self.request_loop.exec_()
then self.request_loop.exec_() won't return forever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions