Boost logo

Boost Users :

From: Fei Liu (feiliu_at_[hidden])
Date: 2007-08-20 10:49:44


Anthony Williams wrote:
> Fei Liu <feiliu_at_[hidden]> writes:
>
> This is nothing to do with threads. The problem is here:
>
>
>> //if(initialized_) serverlet_type(newsockfd, obj); <----
>> causes error
>>
>
> and here:
>
>
>> typedef void (*serverlet_type)(int, shared_obj_type);
>>
>
> You are trying to construct a "servlet_type" (which is a function pointer)
> with two parameters --- that's not going to work. I guess that the "_type"
> part in the function call above is actually a typo.
>
> Anthony
>
Thanks, that indeed was the error.
Fei


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net