• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Daemon taking 100% cpu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daemon taking 100% cpu


  • Subject: Re: Daemon taking 100% cpu
  • From: Jean Suisse <email@hidden>
  • Date: Fri, 17 May 2013 17:06:16 +0200


On 17 mai 2013, at 12:20, Arjun SM <email@hidden> wrote:

thanks for you reply Jean,

I also wanted to know if the thread is stuck after making a call to SCDynamicStoreCopyConsoleUser() ? I could not get the implementation of SCDynamicStoreCopyConsoleUser() to know what is the function internally calling.

I don't know about that. Better is to avoid resorting to SCDynamicStoreCopyConsoleUser(). I believe its soon-to-come deprecation has been announced at least 3-5 years ago. 
Maybe you could use utmpx [1] API?

Jean

[1] https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/utmpx.5.html#//apple_ref/doc/man/5/utmpx

-----------
Jean Suisse

Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Daemon taking 100% cpu (From: Arjun SM <email@hidden>)
 >Re: Daemon taking 100% cpu (From: Jean Suisse <email@hidden>)

  • Prev by Date: Re: Daemon taking 100% cpu
  • Next by Date: Re: Daemon taking 100% cpu
  • Previous by thread: Re: Daemon taking 100% cpu
  • Next by thread: Re: Daemon taking 100% cpu
  • Index(es):
    • Date
    • Thread