Dual core question

I created a java program that runs a whois pearl script on the ip addresses in the program�s array. The program runs flawlessly on a single core processor, but when I run the program on my dual core, sometimes some threads (synchronized threads) return an exit value of 9 instead of 0. I tried finding out what this exit value means, but could not find any information on it, so my questions are: 1) does anyone know what this exit value means? 2) Do I need to change the way I use threads when it comes to multi-core processors?
Thanks for your time

A Thread doesn't have a return value. At least, the standard Thread class in the Java API doesn't. Now it's possible you are working with a class that somebody else wrote, and it wraps a Thread with something that does somehow return a value. Or something like that. But if that's the case, you should direct your questions about the return value to whoever wrote the code.
Or if that person has vanished and taken all copies of the documentation (if there ever was any) then you could post the code here.

Similar Messages

  • I am looking at buying a MacBook Air over the Pro mainly for the 12 hour battery. Just wondering if battery is compromised by upgrading to 8mb and upgrading to I7 Intel dual core. I am not very tech savvy so apologies if dumb question

    I am looking at buying a MacBook Air over the Pro mainly for the 12 hour battery. Just wondering if battery is compromised by upgrading to 8mb and upgrading to I7 Intel dual core. I am not very tech savvy so apologies if dumb question

    If both computers were configured identically, then they would both lose the same amount of battery life with respect to the same starting configuration - comparing apple to apples. I don't know how much the added RAM, etc. would reduce battery life, but it would be less for both models.
    Battery life is a tricky subject because most mfgr.s like to suggest as long a life as possible, but often do so under a set of conditions that are not common to most users. Apple is no different. Their computers do have good battery life, however. But not likely as long as what is in the ads for the typical user.

  • Question about the Y2P Dual Core processor

    Ok, so I was an an idiot and always thought that i7 meant quad core and was better than i5. However I just realized that there are some laptops with i5 that are quad core. On the other hand, this i7 Y2P laptop (which I won't get to play with till the 21st, since I am out of the country) has a dual core.
    I now have a lenovo z570 quad-core i7 (note to Lenovo: still upset Lenovo about our power management software that never got fixed after 2 years). How much of a speed decrease am I expected to see???
    I am going from quad core to dual core, 16 gb ram to 8 gb, 1 TB HDD (256 SSD + 750 HDD) to only 256 SSD.... Feels like I am compromising a lot for a touch screen. 
    Should I return the laptop?
    Legit this whole i7 and i5 is crap marketing to get more $ imo. At the end of the day, I prefer quad-core i5 over dual core i7. What is the difference?
    Looking at it, I see only a 0.4 GHz between the i5 and i7 model, both being dual core with hyperthreading. In the end, i7 is like $300 more. Why?
    Feel like I overspent on this laptop cuz of a marketing gimmick. 

    Reading a bit more about it, I don't think there's any architecture difference, and the suggestion that these are actually the same part just programmed / binned / labeled differently sounds reasonable as Intel will not want to run two different manufacturing processes if they can get away with one.
    The i7 is clocked a bit faster and has an extra MB of cache memory (those with manufacturing defects in cache might become i5s with that MB of cache disabled).
    The i7 is definitely faster, but otherwise does not offer any other feature advantages that I can see, and the full-speed difference seems to be on the order of 15%, which is unlikely to make a difference in what you can use the machine for.
    In gaming you might go from 30fps to 32fps say. It's probably not enough to run at a higher resolution or a higher quality setting.
    Also, both processors try to run with lower clock speeds for both processor and graphics as much of the time as they can get away with, so I think most every-day activity will see nearly identical performance between the two.
    Getting the 256GB SSD and 8GB of RAM is definitely worth it, so if it's then only another $100 for the i7 then maybe, but I'm really happy now that I went for the i5 since it doesn't seem like I'm missing out on anything. My i5 Y2P turns out to be a very good gaming ssytem and I have not had any performance issues with it.
    Z.

  • Processor question - Dual core vs. single core.

    I currently have an Aspire 6930 laptop that I bought about a year ago on clearance from Best Buy.  I'm quite happy with it.  It has an Intel Core 2 Duo processor (2.0 GHZ, 800MHz, FSB, 2 MB L2 cache), 3 GB DDR2, 320 GB HDD if that means anything.  I'm not a computer geek so really don't know much about this stuff. 
    Our old laptop is a modular laptop (about 4 years old) which my husband is using (I won't let him mess with my Aspire - long story) and it's pretty much falling apart.  None of the USB ports work, the CD/DVD RW is broken, one of the hinges is busted so it won't close properly and it runs slower than a snails pace as he's dowloaded any and all "speed up your PC"  and "diagnose your PC" programs from the web - if it's on the web it must be true, right????   Anyway, I've taken pity on him and have decided to try to buy him a new laptop as a combination 10 year anniversary/42nd birthday/Christmas present.  Money is a HUGE issue as I'm a SAHM and have been pinching pennies and clipping coupons from the grocery money to try to come up with some funds for this surprise.  I'd like to stay around $400. 
    I've found this one at Best Buy and it has good reviews....  http://www.bestbuy.com/site/Acer+-+Aspire+Laptop+with+AMD+Athlon%26%23153%3B+Single-Core+Processor/9...
    But it says it has a single core processor.  What exactly is the difference with single core vs. duo core???
    We are not gamers.  DH basically uses the computer to surf the web, watch Youtube video's, upload and download photo's, burn DVD's, etc.  He does talk with family overseas so I would need/like to add a webcam.
    I was also looking at this Asus model...  http://www.bestbuy.com/site/Asus+-+Laptop+with+Intel%26%23174%3B+Pentium%26%23174%3B+Processor+-+Mid... 
    But the Asus has a Pentium processor which I've heard isn't the best????  Also, it's over $150 more.  Is the duo processor and increase processor speed (1.6GHz vs 2.1 GHz) really going to increase the speed/response time significantly for what we do on the computer??  An extra $150 is going to be really tough for me to come up with but if it will truly make a significant difference I will try to find it somewhere.
    Your thoughts/recommendations would be appreciated.
    hugs -
    lisa

    Thanks for the input.  We really don't have the space for a desktop which is why the laptop worked so well for us.  The only place to put a desktop is on the kitchen table and then we are always taking it apart when family come for dinner (which is often).  I thought of netbook, but it does seem so limited.  My husband is an amateur photographer and I would like the larger screen so that if he decides to persue this he would be able to do some basic photo editing, etc.
    I think I will go with the dual core processer.  BB has an HP that is $429 
     http://www.bestbuy.com/site/HP+-+Laptop+with+Intel%26%23174%3B+Pentium%26%23174%3B+Processor+-+Black... 
    and then another HP that is $499 
     http://www.bestbuy.com/site/HP+-+Laptop+with+Intel%26%23174%3B+Pentium%26%23174%3B+Processor+-+Piano... 
    and I can't seem to find the difference??????   Except the cheaper on has more RAM???  Doesn't seem to make sense.
    Thoughts on the HP???
    hugs -
    lisa

  • I used Target mode to transfer files to a new iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and po

    IS THE SITUATION HOPELESS
    I used Target mode to transfer files to a new i7  iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and powered down the old machine. When this was restarted the next day there was a grey screen with flashing Mac symbol alternating with a 'no entry' sign and occasionally a question mark.Keyboard and mouse were unusable so k inserted the original instal disc (No.1 for 10.4. with installer 1.0.4) which came with the machine in 2006 in an attempt to boot from this. The ensuing window said this was not possible and now it cannot be ejected.I have tried everything ! It offers Disk Utility and other options like Terminal but that doesn't work either.I 'repaired disk' and that was pronounced o.k. None of the various keystrokes at start up will work, and the computer will only offer the installer disc continually.The only option would seem to be is to erase the hard drive completely from the disc in the machine.I don't want to do this as there is still material which I need to recover. I think the drive has in some way been corrupted by using it in target mode, and I don't know if there are any other options to try.
              Please tell me how to get this disc to eject !

    Graham Giles wrote:
    Have you seen this type of problem before? I think it could be a serious issue for anyone in a similar position.
    No; but then, I've not had occasion to use TDM. I've been using firerwire drives for over 10 years, both FW400 and FW800, with no issues except a bit of instability using a B&W G3 machine.
    TDM should be safe. Using cautious, manual copying of files from the Target machine to the Host machine should not result in unexpected loss of files or damage to the Target drive's directories. It should behave exactly the same as if it were an external (to the Host) firewire drive.
    •  I don't suppose there is anything I can do to 'put back' lost items from a separate Time Machine drive which has an up to date backup on it.
    There is probably a way to do that - seems to me that's one of the reasons for a Time Machine volume.
    On the other hand, if the Time Machine volume is rigidly linked to the now-absent OS on the original drive, there may be no way to effectively access the files in the TM archive.
    I know that using a cloned drive would work well in this instance.
    I have no experience with Time Machine, so perhaps someone who has will chime in with suggestions.
    With the machine in TDM with the other machine, have you tried running Disk Utility to see if you can effect repairs to the drive?

  • 4GB memory on new MacBook Pro Retina 13 with 2.4GHz dual core i5 processor &128GB flash storage

    Hello,
       I'm completely new to the mac world but I'm fed up with pc's and all the insanity with processor problems, viruses, etc. I'm seriously looking at replacing my HP laptop with the new MacBook Pro Retina 13 with 2.4GHz dual core i5 processor, 4GB memory (RAM) & 128GB flash storage, OS X Mavericks (not sure which version). My concern is whether this will be reliably & consistantly fast & smooth both in desktop apps & internet use. I don't need it to do somersaults or anything too advanced. I would mostly be using Pages & spreadsheet apps & internet. It would double as my daughter's computer for cyber school so it's crucial that it runs quickly & efficiently. If she can't complete everything on time or log in to her online sessions because of a computer issue we'll be up a creek without a paddle since this particular cyber school's tech department is still working off of pc's running Windows XP. My father, thus far a pc user, thought I should consider moving up to 8GB memory but I was hoping that with flash storage being faster, I would be able to avoid the extra $100 for the upgrade to 8GB. My biggest fear is finding myself as frustrated & angry as I am now with all of my pc's, ready to take a sledge hammer to them because they take forever to boot, launch apps, internet or do just about anything (that is if they're even fuctioning at all- not joking). Does anyone have any advice or input?   Thanks!!
    P.s. On Apple's site I found a refurbished late 2013 model of the MacBook Pro Retina 13 with all of the same specs as listed above (4GB, not 8GB), running OS X (doesn't say which one) but for a bit less than a brand new one. Is this the same model as what they're currently selling new in their store or did they just upgrade everything to match what is being offered in the current "new" model? I realize this may be a dumb question but I can't seem to find anything online indicated that Apple has released a model newer than what was released late last year (October 2013, I believe), except that the model released then came with SSD storage instead of flash.

    No computer is fault free but Apple MBPs have a good track record.  In those cases where problems do arise, Apple has the best support in the industry.
    A MBP with 4 GB RAM with the SSD storage should be adequate for your needs.
    lsmoondancer01 wrote:
    P.s. On Apple's site I found a refurbished late 2013 model of the MacBook Pro Retina 13 with all of the same specs as listed above (4GB, not 8GB), running OS X (doesn't say which one) but for a bit less than a brand new one. Is this the same model as what they're currently selling new in their store or did they just upgrade everything to match what is being offered in the current "new" model?
    The latest MBP models came out in October 2013, so it will be the same, with the same warranty and telephone support.  The difference will be that the price will be less and it will be delivered in a plain white box.
    I have purchased three MBPs from the refurbished section.  I have never been able to detect any cosmetic differences and will go that route again.
    Ciao.

  • 2 2.66 Ghz Dual-Core Intel Xeon processor upgrade

    I have a question about my Mac Pro.I don't know if you can answer it or point me in the right direction. I have a 2006 Mac Pro 2+2.66Ghz. Dual-Core Intel Xeon with 8 GB 667 Mhz DDR2 FB-DIMM Ram.What types of upgrades can I do to make this a faster machine? Processor upgrade? or should I just by a new Mac Pro?

    Selling the old one and buying a new one is the easiest way.
    Macs tend to keep a much higher value then PC.
    Allan

  • Parallelism in oracle using only one dual-core processor

    Hi, is usefull or could i use parallel execution in oracle using only one dual core processor?
    Can someone explain me why?

    Hi
    To take advantage of parallel processing you need enough resources (mainly CPU and I/O). If you run serially and the bottleneck is the CPU, then parallel processing might help. On the contrary, if the bottleneck is located in the I/O sub-system, throwing more CPU to it would not make things better. So, it's a question of balance between the CPU and I/O resources you have.
    HTH
    Chris

  • An adapter for connecting a 2.5 GHz dual-core Mac Mini to a VGA CRT monitor?

    This question concerns the 2.5 GHz dual-core Mac Mini from Mid 2011 (Intel Core i5-2520M) (Macmini5,2).  Is there an adapter for connecting it to a VGA CRT monitor?

    store.apple.com/us/product/MB572Z/A
    Thunderbolt port is physically identical the miniDisplay port and can pass video for a monitor.

  • Mac Mini Dual Core vs PowerMac DP G4

    I am considering purchasing a Mac Mini Dual Core to replace my PowerMac DP 1.25Ghz G4 . I'm worried whether I will be happy , and if it will be faster than my G4. The app's I run most are univeral binary or will be soon , so I'm thinking , yes. But I would feel more comfortable if I could get some solid input from some power Mac user's experienced or knowledgeable with the new Mac Mini
    PowerMac DP 1.25 Ghz , 1.5GB RAM   Mac OS X (10.4.5)   Dual 80GB Seagate Barracuda drives

    I can't imagine that an Intel Mac mini would ever be "faster" than a dual-processor G4 tower for most operations. The comparisons that Apple advertises, like "4X faster" are all against single-processor PowerPC Macs. Mac OS X does a good job at managing dual PowerPC processors.
    Although the new Intel Mac mini now has a faster system bus, you're MUCH more limited by the use of portable-size hard drives (for example, your PowerMac probably has over a 100GB drive to start with and could have 500GB without much cost). If you want to max-out the RAM on the new Intel Mac mini to 2GB, it will cost you $300 more. So, a 1.66GHz Core Duo Mac mini with a 120GB hard drive and 2GB of RAM is $1,224.00 (US). If I were you, I would, without question, keep the PowerMac and invest in a newer Super Drive and/or hard drive(s) before giving it up.
    -Doug

  • Should I go with a dual core or quad core MacBook?

    Hi all,
    I am going to be a college student this fall majoring in a science related field. My first question is what processor I should go with. I am looking at either a 13" MBP with a dual core i7 and 8 GB of RAM (750GB HD), 13" MBP w/ a dual core i5, 8GB RAM and 500GB HD, or a 15" quad core i7 with 8GB RAM and 500 GB HD. I plan on upgrading to a SSD once prices come down in a few years and would like to stick with the MBP without Retina Display so that I can upgrade RAM and HD later on.
    Will I see a noticeable difference between dual core i5 and i7? From what I have seen, it has not been much of a difference. I only plan to do light Photoshop and doubt I will do any video editing or even 3D modelling for the most part. This will mainly be used for research (web), streaming, and Office. I know that the i5 is more than capable of all of that, but I am looking to make this machine last 4+ years at least. That is why I am considering jumping up to the 15" MBP just to get the quad core and ensure that I will have a longer lasting machine.
    Most of the time the laptop will be travelling around, but I will also be plugging this into a Thunderbolt Display for more screen space.
    Let me know what you all think! Right now, I am leaning towards the 13" MBP with dual core i7, but this is subject to change. Will it last throughout college?
    Thanks,
    Sean

    seanbrownie wrote:
    Screen size set aside since I plan on using a TBD most of the time,
    Then you want the more powerful graphics of the 15" with it's dedicated GPU to better/faster drive the external display as it's larger, and larger displays pumps more pixels so you also need the better cooling of the 15"
    would adding more RAM solve the OS X upgrade issues over time?
    Yes, but more RAM isn't a cure all, processors and graphics also has to be powerful to last longer.
    RAM allows one to do more things at the same time, and gives a performance boot with programs with larger files it's working on (like large Photoshop and video files)
    Plus, would upgrading the HD to SSD help in making the jump to say OS X 10.11, 10.12 down the road easier?
    Not that much really, with the non-Retina 15" you can put in a 1TB SSD when the prices come down further
    http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100008120%2060041492 0&IsNodeId=1&name=513GB%20-%201TB
    It would be nice to save a little on the screen size since I won't be able to utilize the 15" to its maximum potential when I'm working at my desk.
    Your on the wrong platform if your looking to save money.
    If you compare specs and performance of the hardware Apple offers for sale and equivilent i5/dual cores with Intel HD graphics, you'll find for $1500 buys a Mac and for $400 buys the same in a Windows PC.
    Really the best value comes with the 15" as if your in that pro market for such a machine you might as well get OS X with it as PC's cost about the same in that range.
    The really best value is a Windows 7 tower, that way it's parts are all upgradable and can last a decade or more on one Widnows OS version.
    Several of my friends think I'm crazy spending $10,000 on Mac's in 10 years, they are still on their XP towers and haven't paid much more than $2000 over that same time.
    Of course now XP is dead and they have to upgrade to Windows 7 towers, but they really get good value out of their boxes.
    Mac's are not for those tight on a budget, I don't advise. A Windows machine will do the job for most people
    Perhaps a Windows 3D gaming tower and a iPad?

  • How to use Real time execution trace toolkit with Dual-core processor??

    hi there
    the situation as follows:
    i have a computer (PC and Laptop) types with Dual-core processors, and am trying to do simulation using Multi-core technology and based on different simulation scenarios...starting from sequantial processing,.......Piple lining processing strategy. so that i can differentiate the time delay between those types of processing based on (Using 1 processor then dual-core processor Computers)
    my question is: As i read through Ni's white papers i saw many notes refer to Real-time execution trace toolkit to investigate the (processing-time , etc) of multi-core processors in processing diffenent algorithms. My algorithms are to be run on 1 computer with dual-core processor BUT, not in real time environments, that is ( No hardware to be connected to my pc) only algorithms running on my pc....
    So, is it possible to use Real time execution trace toolkit  or anyother tools in LabVIEW to show processing-delays and/or anyother timing critical issues without using my application for  real- time hardware.???
    in other words: how to use Real time execution trace toolkit  in non-hardware and/or real-time scenarios???
    please help me in this.
    Any suggestion, comments, feedback.....is absolutely highly appreciated
    thanks a lot in advance
    Labview Lover

    Hey,
    The Realtime Execution Trace Toolkit only works for NI RT Targets.
    But you can use the Desktop Execution Trace Toolkit, just search for it under ni.com.
    Christian

  • Does K8D Master-FT support Dual core Opteron?

    Hi,
    Does K8D Master-FT support dual core Opteron? I saw the latest BIOS was released at 2003/12/11 and said to support for all series of AMD Opteron(up to 248, SC, 2.2GHz/1M).
    Thx, Xuekun

    Sorry I only looked after his question.
    The entire K8D-Master3 series has support for it: >>Link<<

  • Upgrading Zbook 15 From i5 4200m Dual Core to an i7 Quad Core; Is it possible?

    Hi. I have this laptop. Is it possible to replace the i5 dual processor with an i7 quad core? If so, I might upgrade. I am just not sure if the Zbook dual core laptop shares the same motherboard as a quad core. 
    Thanks much! 
    Gary
    This question was solved.
    View Solution.

    Hi Gary
    Yes you're correct: you've to change out board for upgrading to Quad core processor. It's going to cost you much compared to price of the laptop.
    Manual (second one) - go through page 26, 27: http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/manualsResults/?sp4ts.oid=538780...
    Documentation: http://h20195.www2.hp.com/v2/default.aspx?cc=ca&lc=en&oid=7081970
    Regards
    Visruth
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • Macbook pro, dual core or quad core?

    Hey guys Im getting an early college present and was wondering which Macbook I should look at. This will be my one and only computer while im in college. No photo editing or anything like that, maybe some video editing but it will be almost none. Will be used to surf the web and write documents. My question is should i get the dual core or quad core processor? Will it really matter for what i want it for? One thing I absolutely hate is lag! So the faster of the two the better.

    tony477g wrote:
    So if I went with the quadcore because you guys say it is faster than the 2.9 ghz dualcore. Would the difference be noticable between the 2.6 ghz and the 2.3 ghz? I noticed the 2.6 has 8 gb to the 4gb and 750gb to the 500 gb.
    Well, actually, only one guy said the quad core would be faster, but it is not clear why they said that. You said you were only going to use it "to surf the web and write documents." Well, guess what. You don't need a quad-core for that. You don't need a dual-core for that. I've surfed the web and written documents on my old single-core iPhone. Those tasks are just not that demanding.
    So unless there are more things you want to do that you haven't mentioned, there is just about no way it's worth paying for quad-core or a 2.6GHz processor if all you are going to do is surf the web and write documents.
    The quad-core is going to speed up operations that specifically benefit from parallel processing, like intensive editing of photo/audio/video, or bulk encoding of audio and video, or specific math apps, stuff like that. And most Mac users would not benefit from choosing the 2.6GHz over the 2.3GHz because the performance of so many common uses depends not only on the CPU speed, but actually on the overall balance of CPU, RAM, and disc. In other words, if you really have a legitimate application for 2.6GHz it usually means you must also install a great deal more RAM and also an SSD to avoid creating a bottleneck that holds back the CPU. But then you would have a machine that is massively overpowered and overpriced for surfing the web and writing documents.
    You could surf the web and write documents quite effectively on the least expensive MacBook that Apple sells. But since you do want to keep it throughout all of college, it is a good idea to buy something higher than the bottom of the line. For a Mac for very basic uses that should last four years, I would suggest:
    13-inch MacBook Air with 256GB SSD storage and 8GB RAM
    13-inch MacBook Pro with 500GB HD storage and 8GB RAM
    13-inch MacBook Pro with Retina Display with 256GB SSD storage and 8GB RAM
    (You didn't mention what your budget is)
    I suggested 13-inch because it's more portable than the 15-inch but more comfortable for 4 years than an 11-inch. I chose storage sizes that would be appropriate since you said you would do some video. And I chose 8GB RAM because 4GB may not be enough for 4 years, and also because insufficient RAM is often a bigger cause of lag than CPU or disk speed.
    If you have a limited amount of money, from this point on you'll need to justify why you would want a bigger screen, a faster CPU, or more cores given the two tasks you said you'd be doing most of the time. Because again, if you didn't actually need a Mac, you could write documents and surf the web on an iPad with the Logitech Ultrathin Keyboard Cover and be done for $600.

Maybe you are looking for

  • Creating a foreign key constraint on a synonym of table in another schema.

    Hi, I am having two user operapps and oper owner of table po_vendors is operapps ,i have created a synonym in oper with select permission. now i am trying to create a foreign key. ALTER TABLE OPS_BR_VENDORS ADD ( FOREIGN KEY (VENDOR_ID) REFERENCES PO

  • [SOLVED] Zsh and the move to /usr/bin

    I've done everything in the article, and I have no unofficial packages. However, I do use zsh as my shell, so I thought I might as well ask before doing anything: Blog wrote:# pacman -Syu --ignore filesystem,bash # pacman -S bash # pacman -Su Should

  • Valuation of Open Items - US

    SAP Gurus, Valuations of open items are done with update or with out update for US regulations. Could some one suggest what is the valuation approach followed for country US and what is the valuation method? your help is highly appreciated. Thanks, P

  • Enabling installation of new equipment category under superior FL and under sup Equip

    Hi all, I've created new equipment category. I can install a piece of equipment from this new category only under a superior piece of equipment but not under FL (the field of superior FL is darken in pop up installation ) . I know I've seen in SPRO w

  • [SOLVED] need help with virtualbox install

    I'm a relative n00b to Arch, haging migrated from Ubuntu (pha!!). Arch rocks! However, my beloved virtualbox isnt playing ball! After many hours of getting arch up and running I now need some assitance please with VirtualBox PEUL. I've googled and se