I am working on a piece of code and part of it is a producer-consumer queue.
The following is my pop method:
void pop(Data& popped_value)
{
boost::mutex::scoped_lock lock(m_mutex);
while (m_queue.empty()) //block while queue is empty
{
m_condition_var.wait(lock);
}
popped_value =...
I have gotten used to ending background processes by issuing sigterm, but recently I have been working on a java project that requires a bit of clean up on shutdown. The solution seemed to be to use shutdown hooks, but they appear to have a problem with threaded applications because the actual...
Terms of Service
Looks like a pandora's box to me. It introduces a relatively complex instruments to consumers that mostly won't understand it.
At least annuity products and insurers in general are relatively well regulated, especially those that do business in NY.
I propose a night at the bar or a big dinner the week after memorial day to celebrate the end of the semester. My suggestion is Thursday, May 28th at 8pm or so.
This would give everyone a chance to relax before the arduous summer Statistics course. Any new students that are entering the program...
Recipe for Disaster: The Formula That Killed Wall Street
It's all David Li's fault apparently. That bastard!
:deadhorse:
In the mid-'80s, Wall Street turned to the quants—brainy financial engineers—to invent new ways to boost profits. Their methods for minting money worked brilliantly...
With the onset of the midterm condition it is necessary for us to seek treatment. I propose a night of unwinding on Thursday 11/20 after the probability midterm (9ish pm) at the Grand Saloon. Hope to see everyone there ;)
If you have some free time tomorrow after class (9pm) and wouldn't mind spending it with us please feel free to join us for a trip to a bar. The actual bar will be decided tomorrow (Grand Saloon is closed for renovations or something of that sort).
If you are interested just hang around after...
dom from refresher courses celebration!
This Thursday after class at the Grand Saloon. Everyone is welcome to come and celebrate this once in a life time occasion (that means you too non-drinkers ;) ).
If you are planning to come feel free to post or just show up and surprise us...
If anyone is interested, a few of us are planning to get together this Thursday for a drink or two after class (9pm). We are going to be at the Grand Saloon on 23rd and 3rd.
Everyone is welcome. Hope to see you all there.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.