Boost logo

Boost Users :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-08-17 03:35:49


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

-- 
Anthony Williams
Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

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