Search Result

Collapse
2 results in 0.0038 seconds.
Keywords
Members
Tags
ref
  •  

  • Adding a 2D array to the list. Found a bug and solution, need your explanation

    Working fine:

    Code:
            internal double[] AggregationMethod(List<double[]> listOf_D)
            {
                double[] maxD;
                double[] aggregatedD;
                List<double[]> tempList;
    
                maxD = new double[listOf_D[0].Length];
                
                tempList = new List<double[]>();
    
                for (int i = 0; i < maxD.Length;
    ...
    See more | Go to post

  • tdlr
    started a topic Solution for handling boost::thread with member functions
    in C

    Solution for handling boost::thread with member functions

    I'm using VC++ 2010 with Boost 1.43.
    I've just created a class that uses winsock to handle network communication. Now there's a method called "fillQueue" which is defined like this:
    Code:
    void fillQueue(NetworkQueueTS& nq);
    Problem is, the method enters an infinite while loop which fills the NetworkQueue with data. So it needs to be in an extra thread. The NetworkQueue class itself is already thread...
    See more | Go to post
Working...