본문 바로가기

관심있는 것들 정리

검색하기
관심있는 것들 정리
프로필사진 내공강화

  • 분류 전체보기 (210)
    • Network (1)
    • 이것저것 긁적긁적 (26)
    • programming (9)
      • gtk+ (6)
      • 암호 알고리즘 (4)
      • Android (1)
      • wxPython (2)
      • ActionScript (0)
      • Debugging (7)
      • Network (10)
      • Python (6)
      • Gnuplot (7)
      • common lisp (1)
      • Ruby (6)
      • Golang (9)
      • awk (4)
    • utility 사용법 (59)
      • vim (12)
      • expect (0)
      • emacs (33)
      • shell (2)
      • 그 외 (11)
    • 일본어 (1)
    • 게임 (1)
    • 음악 (4)
    • 프로토콜 (13)
      • BitTorrent (13)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록programming/Golang (9)

관심있는 것들 정리

golang 연습 1 (waitgroup)

concurreny 제어를 위한 waitgroup // test.go package main import ( "fmt" "sync" ) func main() { var data int var wg sync.WaitGroup wg.Add(1) go func() { defer wg.Done() data++ }() wg.Wait() fmt.Printf("the value is %v\n", data) }

programming/Golang 2021. 1. 25. 09:50
이전 Prev 1 2 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바