Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Turkish
  4. QThread'ın donma sorununa çare olamaması.
Forum Updated to NodeBB v4.3 + New Features

QThread'ın donma sorununa çare olamaması.

Scheduled Pinned Locked Moved Turkish
2 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mthnzbk
    wrote on last edited by
    #1

    PyQt5 ile geliştirdiğim uygulamamda for döngüsü ile döngü boyunca threadler oluşturuyorum. Bu threadler rss parse edip haberleri kontrol edip veritabanına yazıyor. Thread biterken üç dört adet sinyal yayıyor ve bu neredeyse bütün widgetlere başka bir sinyal göndermesine neden oluyor. Sorunu tam olarak bilmesemde bu işlemler sürerken pencere ekranı tam donmasa da widgetler ile kullanıcı etkileşimi kesiliyor. Sizce sorunu nerede aramalıyım?

    Thread sınıfım: https://github.com/mthnzbk/domestic/blob/master/domestic/core/feedsync.py#L81

    Döngü ile oluşturduğum threadler: https://github.com/mthnzbk/domestic/blob/master/domestic/domestic.py#L168

    1 Reply Last reply
    0
    • A.A.SEZENA Offline
      A.A.SEZENA Offline
      A.A.SEZEN
      wrote on last edited by
      #2

      qDebug ile ara bilgilendirme satırları ekleyerek süreci takip edip hangi satırdan sonra sorunların başladığını tespit edebilir, problemi tanıyabilirsiniz.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved