On terça-feira, 12 de junho de 2012 16.18.25, Gopalakrishna Bhat wrote:
> Yeah, that is the reason. I get that signal. Any way we can get my usecase
> to work?

No, it's not possible because it's a race condition.

Even if we tell the operating system to keep at most one socket in queue,
between accept() and close(), another socket could be accepted by the OS.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to