def signal_transmit(self, fd):
connection = self.connections(fd)<EOL>if connection is None or connection >= len(self.rwait):<EOL><INDENT>return<EOL><DEDENT>procs = self.rwait[connection]<EOL>if procs:<EOL><INDENT>procid = random.sample(procs, <NUM_LIT:1>)[<NUM_LIT:0>]<EOL>self.awake(procid)<EOL><DEDENT>
Awake one process waiting to transmit data on fd