본문 바로가기 메뉴 바로가기

mach의 컴퓨터 노트

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

mach의 컴퓨터 노트

검색하기 폼
  • 분류 전체보기 (133)
    • inforworld - Bossie (0)
      • Application (0)
      • Application Development Too.. (0)
      • Desktop & Mobile Software (0)
      • Data Center & Cloud S/W (0)
      • Big Data Tools (0)
      • Networking & Security S/W (0)
      • Machine Learning (0)
    • Magazine (1)
    • 프로그래밍Tip (17)
    • 부담없이 읽기 (27)
    • Data Diode (6)
    • NoSQL (4)
    • Security (16)
      • NSM - Network Security Moni.. (0)
      • ESM - Enterprise Security M.. (0)
      • Social Engineering (0)
      • Hooking/RootKits (0)
      • Management Framework (0)
      • SSL (3)
    • Book Review (1)
    • HardWare (4)
    • links (5)
      • just fun! (2)
    • X-a-a-s (0)
    • HTML 5 (4)
    • Application Peromenace/Netw.. (4)
    • Q&A (0)
    • biz (0)
    • malware (0)
    • 2013 term (0)
    • middleware (0)
    • 유틸리티 (22)
  • 방명록

code sample (1)
프로그래밍 하다 참조하기에 용이한 예제만 모은 사이트...

https://code.google.com/p/semicomplete/source/browse/codesamples/exponential-backoff.c아래는 exponential backoff관련 코드이다.#include #include void exponential_backoff(useconds_t *current, useconds_t maxwait) { usleep(*current); *current *= 2; if (*current >= maxwait) { *current = maxwait; } } /* void exponential_backoff(useconds_t *, useconds_t) */ int main() { useconds_t maxwait = 5000000; /* 5 second..

프로그래밍Tip 2013. 7. 9. 00:20
이전 1 다음
이전 다음
공지사항
  • mach의 컴퓨터 노트를 오픈합니다.

Blog is powered by Tistory / Designed by Tistory

티스토리툴바