使用响应式扩展异步读取大小文件 [英] Reading a big and small file asynchronously with reactive extension

查看:48
本文介绍了使用响应式扩展异步读取大小文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想异步地同时读取一个小文件(1kb)和一个大文件(10gb),而不必锁定主线程.我应该使用控制台应用程序和 Rx扩展而不是system.threading和其他方法来执行此操作,因为我的经理要求这样做! .有人可以帮我一些忙吗?提前tanx ...

I want to read a small (1kb) file and a big (10gb) file together asynchronously without locking the main thread. I should do it with a console application and Rx extension not with system.threading and other methods because my manager asked so! . Could anybody give me some help plzzzz? tanx in advance...

推荐答案

请不要告诉我们因为我的经理这样要求".我们仅帮助软件开发人员,而不帮助不知道为什么使用此API或其他API的人员.可能是您的经理是真正的软件开发人员,但肯定不是您.与您的经理联系以解决此问题.如果您的经理认为自己是软件开发人员,请让他/他在CodeProject上提问,这次以适当的理性来解释要求.

请不要问这样的问题,因为这不是真正的您的问题.首先,成为一名软件开发人员,他可以对您的工作承担足够的责任,并且至少能够解释所有要求背后的原因.如何成为这样的人?有不同的方法.您可以从问您的经理开始;可能是她/他知道食谱. :-)

—SA
Please don''t tell us "because my manager asked so". We help software developers only, not people who don''t know why using this or another APIs. May be your manager is the real software developer, but certainly not you. Talk to your manager to resolve this problem. If your manager consider herself/himself a software developer, let her/him ask a question here at CodeProject, this time explaining the requirements with proper rational.

Please don''t ask such questions because this is not really your question. First, become a software developer who can take enough responsibility for your work and at least able to explain the rational behind all the requirements. How to become such person? There are different ways. You can start with asking you manager; may be she/he knows the recipe. :-)

—SA


这篇关于使用响应式扩展异步读取大小文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆