/[LeafOK_CVS]/lbbs/src/section_list.c
ViewVC logotype

Diff of /lbbs/src/section_list.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.36 by sysadm, Tue Jun 24 10:01:24 2025 UTC Revision 1.37 by sysadm, Wed Jun 25 02:49:20 2025 UTC
# Line 1709  int section_list_rd_lock(SECTION_LIST *p Line 1709  int section_list_rd_lock(SECTION_LIST *p
1709                          timer++;                          timer++;
1710                          if (timer % SECTION_TRY_LOCK_TIMES == 0)                          if (timer % SECTION_TRY_LOCK_TIMES == 0)
1711                          {                          {
1712                                  log_error("section_list_rd_lock() tried %d times on section %d\n", sid, timer);                                  log_error("section_list_try_rd_lock() tried %d times on section %d\n", sid, timer);
1713                          }                          }
1714                  }                  }
1715                  else // failed                  else // failed
1716                  {                  {
1717                          log_error("section_list_rd_lock() failed on section %d\n", sid);                          log_error("section_list_try_rd_lock() failed on section %d\n", sid);
1718                          break;                          break;
1719                  }                  }
1720          }          }
# Line 1740  int section_list_rw_lock(SECTION_LIST *p Line 1740  int section_list_rw_lock(SECTION_LIST *p
1740                          timer++;                          timer++;
1741                          if (timer % SECTION_TRY_LOCK_TIMES == 0)                          if (timer % SECTION_TRY_LOCK_TIMES == 0)
1742                          {                          {
1743                                  log_error("acquire_section_rw_lock() tried %d times on section %d\n", sid, timer);                                  log_error("section_list_try_rw_lock() tried %d times on section %d\n", sid, timer);
1744                          }                          }
1745                  }                  }
1746                  else // failed                  else // failed
1747                  {                  {
1748                          log_error("acquire_section_rw_lock() failed on section %d\n", sid);                          log_error("section_list_try_rw_lock() failed on section %d\n", sid);
1749                          break;                          break;
1750                  }                  }
1751          }          }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1