Mercurial > ecos
comparison packages/kernel/current/src/common/clock.cxx @ 78:59d97b6ba612 ecos-sw-2000-03-28
Merge from eCos master repository on 2000-03-28-19:50:47-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 20:13:29 +0000 |
| parents | bf00f99aec69 |
| children | 6ed91473a1cd |
comparison
equal
deleted
inserted
replaced
| 77:abb6bd809e81 | 78:59d97b6ba612 |
|---|---|
| 107 // ------------------------------------------------------------------------- | 107 // ------------------------------------------------------------------------- |
| 108 // | 108 // |
| 109 | 109 |
| 110 #ifdef CYGDBG_USE_ASSERTS | 110 #ifdef CYGDBG_USE_ASSERTS |
| 111 | 111 |
| 112 bool Cyg_Counter::check_this( cyg_assert_class_zeal zeal) const | 112 cyg_bool Cyg_Counter::check_this( cyg_assert_class_zeal zeal) const |
| 113 { | 113 { |
| 114 // check that we have a non-NULL pointer first | 114 // check that we have a non-NULL pointer first |
| 115 if( this == NULL ) return false; | 115 if( this == NULL ) return false; |
| 116 | 116 |
| 117 switch( zeal ) | 117 switch( zeal ) |
| 463 // ------------------------------------------------------------------------- | 463 // ------------------------------------------------------------------------- |
| 464 // | 464 // |
| 465 | 465 |
| 466 #ifdef CYGDBG_USE_ASSERTS | 466 #ifdef CYGDBG_USE_ASSERTS |
| 467 | 467 |
| 468 bool Cyg_Clock::check_this( cyg_assert_class_zeal zeal) const | 468 cyg_bool Cyg_Clock::check_this( cyg_assert_class_zeal zeal) const |
| 469 { | 469 { |
| 470 // check that we have a non-NULL pointer first | 470 // check that we have a non-NULL pointer first |
| 471 if( this == NULL ) return false; | 471 if( this == NULL ) return false; |
| 472 | 472 |
| 473 switch( zeal ) | 473 switch( zeal ) |
| 691 // ------------------------------------------------------------------------- | 691 // ------------------------------------------------------------------------- |
| 692 // | 692 // |
| 693 | 693 |
| 694 #ifdef CYGDBG_USE_ASSERTS | 694 #ifdef CYGDBG_USE_ASSERTS |
| 695 | 695 |
| 696 bool Cyg_Alarm::check_this( cyg_assert_class_zeal zeal) const | 696 cyg_bool Cyg_Alarm::check_this( cyg_assert_class_zeal zeal) const |
| 697 { | 697 { |
| 698 // check that we have a non-NULL pointer first | 698 // check that we have a non-NULL pointer first |
| 699 if( this == NULL ) return false; | 699 if( this == NULL ) return false; |
| 700 | 700 |
| 701 switch( zeal ) | 701 switch( zeal ) |
