Displaying 1 result from an estimated 1 matches for "blog_socket".
2006 Sep 03
1
Kill my Thread
...9;'t and goes on doing other stuff. Of course...there
are lots of work arounds for this, but how do i make sure that, the thread
is killed at that point of time.
begin
@dbh = Mysql.real_connect
("localhost","root","","typo_#{username}", at sql_port, at blog_socket)
rescue Exception => e
@logger.debug("### Error connecting to the database : #{e.to_s}")
kill
end
--
nothing much to talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060904/7f3686c...