beankhan.tistory.com/139

Preview meta tags from the beankhan.tistory.com website.

Linked Hostnames

1

Thumbnail

Search Engine Appearance

Google

https://beankhan.tistory.com/139

dispatch_queue 의 sync, async 와 Thread 의 관계

결론Queue 의 동작과 Thread 와는 관계가 없다. dispatch_sync 로 실행했다면 실행한 Thread 에서,dispatch_async 로 실행했다면 WorkerThread 에서 동작한다. Queue type 이 SERIAL 인지 CONCURRENT 인지는 중요하지 않다. Test codeSerial Queue dispatch_queue_t serialQueue = dispatch_queue_create("serial", DISPATCH_QUEUE_SERIAL); dispatch_sync(serialQueue, ^{ NSLog(@"serialQueue_sync : %@", [NSThread isMainThread] ? @"YES" : @"NO"); //YES }); dispatch_async..



Bing

dispatch_queue 의 sync, async 와 Thread 의 관계

https://beankhan.tistory.com/139

결론Queue 의 동작과 Thread 와는 관계가 없다. dispatch_sync 로 실행했다면 실행한 Thread 에서,dispatch_async 로 실행했다면 WorkerThread 에서 동작한다. Queue type 이 SERIAL 인지 CONCURRENT 인지는 중요하지 않다. Test codeSerial Queue dispatch_queue_t serialQueue = dispatch_queue_create("serial", DISPATCH_QUEUE_SERIAL); dispatch_sync(serialQueue, ^{ NSLog(@"serialQueue_sync : %@", [NSThread isMainThread] ? @"YES" : @"NO"); //YES }); dispatch_async..



DuckDuckGo

https://beankhan.tistory.com/139

dispatch_queue 의 sync, async 와 Thread 의 관계

결론Queue 의 동작과 Thread 와는 관계가 없다. dispatch_sync 로 실행했다면 실행한 Thread 에서,dispatch_async 로 실행했다면 WorkerThread 에서 동작한다. Queue type 이 SERIAL 인지 CONCURRENT 인지는 중요하지 않다. Test codeSerial Queue dispatch_queue_t serialQueue = dispatch_queue_create("serial", DISPATCH_QUEUE_SERIAL); dispatch_sync(serialQueue, ^{ NSLog(@"serialQueue_sync : %@", [NSThread isMainThread] ? @"YES" : @"NO"); //YES }); dispatch_async..

  • General Meta Tags

    27
    • title
      dispatch_queue 의 sync, async 와 Thread 의 관계
    • X-UA-Compatible
      IE=Edge
    • format-detection
      telephone=no
    • referrer
      always
    • google-adsense-platform-account
      ca-host-pub-9691043933427338
  • Open Graph Meta Tags

    7
    • og:type
      article
    • og:url
      https://beankhan.tistory.com/139
    • og:site_name
      BeanKhaners
    • og:title
      dispatch_queue 의 sync, async 와 Thread 의 관계
    • og:description
      결론Queue 의 동작과 Thread 와는 관계가 없다. dispatch_sync 로 실행했다면 실행한 Thread 에서,dispatch_async 로 실행했다면 WorkerThread 에서 동작한다. Queue type 이 SERIAL 인지 CONCURRENT 인지는 중요하지 않다. Test codeSerial Queue dispatch_queue_t serialQueue = dispatch_queue_create("serial", DISPATCH_QUEUE_SERIAL); dispatch_sync(serialQueue, ^{ NSLog(@"serialQueue_sync : %@", [NSThread isMainThread] ? @"YES" : @"NO"); //YES }); dispatch_async..
  • Twitter Meta Tags

    4
    • twitter:card
      summary_large_image
    • twitter:site
      @TISTORY
    • twitter:title
      dispatch_queue 의 sync, async 와 Thread 의 관계
    • twitter:description
      결론Queue 의 동작과 Thread 와는 관계가 없다. dispatch_sync 로 실행했다면 실행한 Thread 에서,dispatch_async 로 실행했다면 WorkerThread 에서 동작한다. Queue type 이 SERIAL 인지 CONCURRENT 인지는 중요하지 않다. Test codeSerial Queue dispatch_queue_t serialQueue = dispatch_queue_create("serial", DISPATCH_QUEUE_SERIAL); dispatch_sync(serialQueue, ^{ NSLog(@"serialQueue_sync : %@", [NSThread isMainThread] ? @"YES" : @"NO"); //YES }); dispatch_async..
  • Link Tags

    17
    • alternate
      https://beankhan.tistory.com/rss
    • apple-touch-icon
      https://t1.daumcdn.net/tistory_admin/top_v2/tistory-apple-touch-favicon.png
    • canonical
      https://beankhan.tistory.com/139
    • icon
      https://t1.daumcdn.net/tistory_admin/favicon/tistory_favicon_32x32.ico
    • icon
      https://t1.daumcdn.net/tistory_admin/top_v2/bi-tistory-favicon.svg

Links

94