Thank you for an excellent explanation
Cheers
On Thu, Jun 3, 2010 at 4:26 PM, Nick Mathewson wrote:
> On Sat, May 29, 2010 at 6:44 AM, Sherif Fanous
> wrote:
> > Hi
> > I have the following scenario, and want to verify the expected outcome
> > pthread_wrlock_rdlock(&(server->lock));
> > if (se
On Sat, May 29, 2010 at 6:44 AM, Sherif Fanous wrote:
> Hi
> I have the following scenario, and want to verify the expected outcome
> pthread_wrlock_rdlock(&(server->lock));
> if (server->is_connected) {
> struct send_packets_args *send_packets_args;
> send_packets_args = malloc(sizeof (st
Hi
I have the following scenario, and want to verify the expected outcome
pthread_wrlock_rdlock(&(server->lock));
if (server->is_connected) {
struct send_packets_args *send_packets_args;
send_packets_args = malloc(sizeof (struct send_packets_args));
// Initialize send_packets_args to