<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by jenniferCT</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 06 Nov 2026 06:27:57 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>problem with ext HDD</title>
            <link>http://forum.lowyat.net/topic/474493</link>
            <description>I have this ext HDD, dont know why when I plug into my laptop, it cannot be detected....&lt;br /&gt;&lt;br /&gt;The error state there is USB Device is not recognized.&lt;br /&gt;One of the USB devices attached to this computer has malfunctioned, and Windows does not recognized it..&lt;br /&gt;&lt;br /&gt;I dont know what&amp;#39;s wrong and i had been trying so long, but still kenot be detected..Izzit because of the housing or internal??&lt;br /&gt;Any ways so that i can retrieve my data back???&lt;br /&gt;&lt;br /&gt;I need help in this....&lt;br /&gt;Thank you....</description>
            <author>jenniferCT</author>
            <category>Technical Support</category>
            <pubDate>Mon, 18 Jun 2007 10:41:35 +0800</pubDate>
        </item>
        <item>
            <title>hacked by godzilla</title>
            <link>http://forum.lowyat.net/topic/439442</link>
            <description>my internet explorer got hacked by godzilla and &lt;br /&gt;then whole pc hang&lt;br /&gt;what is de problem???&lt;br /&gt;any solution???</description>
            <author>jenniferCT</author>
            <category>Technical Support</category>
            <pubDate>Mon, 09 Apr 2007 17:20:44 +0800</pubDate>
        </item>
        <item>
            <title>produce/consumer model how to design using C?</title>
            <link>http://forum.lowyat.net/topic/425065</link>
            <description>I need help in C programming on how to design the produce/consumer model using semaphore.&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;&lt;br /&gt;A gasoline station wants a program to model the delivery of gasoline from the producer and the dispensing&lt;br /&gt;of gaselin by the consumers.The station is equiped with a storage tank that can be filled at a rate of 50 gallons &lt;br /&gt;per second and can hold 1000 gallons of gaseline.10 pumps dispense gaseline at a rate of 5 gallons per second.&lt;br /&gt;Any combination of pumps can be use in at the same time,each active pump can dispense different quantities of gaseline than&lt;br /&gt;the other active pumps.When the storage reaches minimum quantity,the active pumps are taken off line and the storage tank is refilled&lt;br /&gt;to its capacity.After the storage tank has been refilled,the active pumps are put back on line and continue pumping.The model displays &lt;br /&gt;the starting,stopping and real-time activity is controlled by a constant(VERBOSE) with 1 indicating the real-time activity is displayed&lt;br /&gt;and 0 indicating that real-time activity is not displayed.&lt;br /&gt;&lt;br /&gt;Analysis :&lt;br /&gt;&lt;br /&gt;The user must be able to enter the pump number and gaseline quantity at the same time that the producer is refilling the storage tank and&lt;br /&gt;other pumps are active,which means that you need one thread to query the user for the pump number and gaseline quantity inputs,one thread &lt;br /&gt;for producer refilling the storage tank when the inventory reaches the minimum quantity,one thread for each active pumps.The user inputs thread&lt;br /&gt;can run in the main function,but the producer thread and the consumer threads will each need their own function.&lt;br /&gt;&lt;br /&gt;Design:&lt;br /&gt;&lt;br /&gt;1.initialize terminate,inventory,pump[] quantities and number&lt;br /&gt;2.initialize mutex lock&lt;br /&gt;3.launch producer thread&lt;br /&gt;4.while the pump number is not -1&lt;br /&gt;4.1 get the pump number&lt;br /&gt;4.2 if the pump number is not -1 and the pump[number] is 0&lt;br /&gt;4.2.1 get the pump amount and store it in the pump[number]&lt;br /&gt;4.2.2 launch consumer thread&lt;br /&gt;5.wait for active consumer threads to complete&lt;br /&gt;6.set the terminate flag&lt;br /&gt;7.wait for the producer thread to complete&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank q&amp;#33;any clues?&lt;br /&gt;or some tips?&lt;br /&gt;</description>
            <author>jenniferCT</author>
            <category>Codemasters</category>
            <pubDate>Sun, 11 Mar 2007 17:58:18 +0800</pubDate>
        </item>
        <item>
            <title>Operating System</title>
            <link>http://forum.lowyat.net/topic/425061</link>
            <description>I need help in C programming on how to design the produce/consumer model  using semaphore.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A gasoline station wants a program to model the delivery of gasoline from the producer and the dispensing&lt;br /&gt;of gaselin by the consumers.The station is equiped with a storage tank that can be filled at a rate of 50 gallons &lt;br /&gt;per second and can hold 1000 gallons of gaseline.10 pumps dispense gaseline at a rate of 5 gallons per second.&lt;br /&gt;Any combination of pumps can be use in at the same time,each active pump can dispense different quantities of gaseline than&lt;br /&gt;the other active pumps.When the storage reaches minimum quantity,the active pumps are taken off line and the storage tank is refilled&lt;br /&gt;to its capacity.After the storage tank has been refilled,the active pumps are put back on line and continue pumping.The model displays &lt;br /&gt;the starting,stopping and real-time activity is controlled by a constant(VERBOSE) with 1 indicating the real-time activity is displayed&lt;br /&gt;and 0 indicating that real-time activity is not displayed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Analysis :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The user must be able to enter the pump number and gaseline quantity at the same time that the producer is refilling the storage tank and&lt;br /&gt;other pumps are active,which means that you need one thread to query the user for the pump number and gaseline quantity inputs,one thread &lt;br /&gt;for producer refilling the storage tank when the inventory reaches the minimum quantity,one thread for each active pumps.The user inputs thread&lt;br /&gt;can run in the main function,but the producer thread and the consumer threads will each need their own function.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Design:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1.initialize terminate,inventory,pump[] quantities and number&lt;br /&gt;2.initialize mutex lock&lt;br /&gt;3.launch producer thread&lt;br /&gt;4.while the pump number is not -1&lt;br /&gt;  4.1 get the pump number&lt;br /&gt;  4.2 if the pump number is not -1 and the pump[number] is 0&lt;br /&gt;     4.2.1 get the pump amount and store it in the pump[number]&lt;br /&gt;     4.2.2 launch consumer thread&lt;br /&gt;5.wait for active consumer threads to complete&lt;br /&gt;6.set the terminate flag&lt;br /&gt;7.wait for the producer thread to complete&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank q&amp;#33;i juz need some clues / helps to start...confused&amp;#33;&amp;#33;&amp;#33;</description>
            <author>jenniferCT</author>
            <category>Technical Support</category>
            <pubDate>Sun, 11 Mar 2007 17:53:54 +0800</pubDate>
        </item>
    </channel>
</rss>
