Browse files

threads member for waitable_hook_s needs initailizing.

  • Loading branch information...
1 parent 3b91db9 commit 094dd7e4de8b0f7239ed24510080b754f2d743b1 steve committed Jun 17, 2005
Showing with 10 additions and 3 deletions.
  1. +4 −2 vvp/event.cc
  2. +6 −1 vvp/event.h
View
6 vvp/event.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
-#ident "$Id: event.cc,v 1.18 2005/05/25 05:44:51 steve Exp $"
+#ident "$Id: event.cc,v 1.19 2005/06/17 23:47:02 steve Exp $"
#endif
# include "event.h"
@@ -69,7 +69,6 @@ const vvp_fun_edge::edge_t vvp_edge_none = 0;
vvp_fun_edge::vvp_fun_edge(edge_t e)
: edge_(e)
{
- threads = 0;
bits_[0] = BIT4_X;
bits_[1] = BIT4_X;
bits_[2] = BIT4_X;
@@ -249,6 +248,9 @@ void compile_named_event(char*label, char*name)
/*
* $Log: event.cc,v $
+ * Revision 1.19 2005/06/17 23:47:02 steve
+ * threads member for waitable_hook_s needs initailizing.
+ *
* Revision 1.18 2005/05/25 05:44:51 steve
* Handle event/or with specific, efficient nodes.
*
View
7 vvp/event.h
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
-#ident "$Id: event.h,v 1.9 2005/05/25 05:44:51 steve Exp $"
+#ident "$Id: event.h,v 1.10 2005/06/17 23:47:02 steve Exp $"
#endif
# include "vvp_net.h"
@@ -35,6 +35,8 @@
*/
struct waitable_hooks_s {
+ public:
+ waitable_hooks_s() : threads(0) { }
vthread_t threads;
protected:
@@ -118,6 +120,9 @@ class vvp_named_event : public vvp_net_fun_t, public waitable_hooks_s {
/*
* $Log: event.h,v $
+ * Revision 1.10 2005/06/17 23:47:02 steve
+ * threads member for waitable_hook_s needs initailizing.
+ *
* Revision 1.9 2005/05/25 05:44:51 steve
* Handle event/or with specific, efficient nodes.
*

0 comments on commit 094dd7e

Please sign in to comment.